Skip to content

Commit

Permalink
Make test data file glob deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
standage committed May 17, 2017
1 parent b221d2b commit a3a5414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kevlar/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ def data_file(basename):

def data_glob(globstr):
datadir = pkg_resources.resource_filename('kevlar', 'tests/data')
return glob.glob(datadir + '/' + globstr)
return sorted(glob.glob(datadir + '/' + globstr))

0 comments on commit a3a5414

Please sign in to comment.