Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Commit

Permalink
sorted glob output
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyfolkesson committed May 4, 2022
1 parent 068e41d commit 852976f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/plotting/plot_utils_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_save_predicted_images():
output_fname=output_fname,
)
fig_glob = glob.glob(os.path.join(output_dir, '*'))
fig_glob.sort()
nose.tools.assert_equal(len(fig_glob), 2)
expected_fig = os.path.join(output_dir, 'test_plot.jpg')
nose.tools.assert_equal(fig_glob[0], expected_fig)
Expand Down

0 comments on commit 852976f

Please sign in to comment.