Skip to content

Commit

Permalink
actually call the entry point...
Browse files Browse the repository at this point in the history
  • Loading branch information
sroet committed Aug 29, 2024
1 parent 699ebf5 commit ece6990
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_entry_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ def start(arg_dict): # simplify run
with self.assertRaisesRegex(ValueError, "gpu indices"):
arguments = defaults.copy()
arguments["-g"] = f"{n_devices}"
start(arguments)
# negative index (and test list input)
with self.assertRaisesRegex(ValueError, "gpu indices"):
arguments = defaults.copy()
arguments["-g"] = "0 -1"
start(arguments)

0 comments on commit ece6990

Please sign in to comment.