Skip to content

Commit

Permalink
Use glob instead of pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
kmu committed May 3, 2018
1 parent 941db84 commit 1cdd3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cif2cell.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import unittest
import subprocess
import pathlib
import glob


class TestCif2Cell(unittest.TestCase):
def test_cif(self):
for path in pathlib.Path('cifs').glob("*.cif"):
for path in glob.glob('cifs/*.cif'):
out = subprocess.check_output(['./cif2cell', path])

0 comments on commit 1cdd3d2

Please sign in to comment.