Skip to content

Commit

Permalink
try this syntax instead?
Browse files Browse the repository at this point in the history
  • Loading branch information
sroet committed Feb 28, 2024
1 parent 5d0dafc commit ab6d272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_broken_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_missing_matplotlib(self):
with self.assertRaisesRegex(RuntimeError, "matplotlib and seaborn"):
reload(pytom_tm.plotting)
# test that entry point testing still works
tested_entry_points = [i[0] for i in reload(test_entry_points).ENTRY_POINTS_TO_TEST]
tested_entry_points = [i[0] for i in reload(.test_entry_points).ENTRY_POINTS_TO_TEST]
self.assertNotIn('pytom_estimate_roc.py', tested_entry_points)

def test_missing_seaborn(self):
Expand All @@ -85,6 +85,6 @@ def test_missing_seaborn(self):
reload(pytom_tm.plotting)

# test that entry point testing still works
tested_entry_points = [i[0] for i in reload(test_entry_points).ENTRY_POINTS_TO_TEST]
tested_entry_points = [i[0] for i in reload(.test_entry_points).ENTRY_POINTS_TO_TEST]
self.assertNotIn('pytom_estimate_roc.py', tested_entry_points)

0 comments on commit ab6d272

Please sign in to comment.