Skip to content

Commit

Permalink
Improve cross-plat reliability by sorting glob output
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Oct 5, 2015
1 parent 1cde857 commit 72f2a52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def env():


def test_features(env):
images = glob.glob(os.path.join(env['images'], '*.tif'))
images = sorted(glob.glob(os.path.join(env['images'], '*.tif')))
mic = sh.Command(env['bin'])
out = mic.features(*images, S=20, n=2, s='myores', b=8,
random_seed=0, _env=env['env'])
Expand All @@ -77,7 +77,7 @@ def test_features(env):


def test_features_single_threshold(env):
images = glob.glob(os.path.join(env['images'], '*.tif'))
images = sorted(glob.glob(os.path.join(env['images'], '*.tif')))
mic = sh.Command(env['bin'])
out = mic.features(*images, S=20, n=2, s='myores', b=8, G=True,
random_seed=0, _env=env['env'])
Expand Down

0 comments on commit 72f2a52

Please sign in to comment.