Skip to content

Commit

Permalink
add generic Exception and remove TypeCheckError
Browse files Browse the repository at this point in the history
  • Loading branch information
NishchayKarle committed Jun 4, 2024
1 parent 6775277 commit 9befa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsl/tests/unit/test_usage_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_invalid_values(level):


@pytest.mark.local
@pytest.mark.parametrize("level", ('abcd', None, bytes(1), 1.0, 1j, object()))
@pytest.mark.parametrize("level", ("abcd", None, bytes(1), 1.0, 1j, object()))
def test_invalid_types(level):
"""Test invalid usage_tracking types."""
with pytest.raises(Exception):
Expand Down

0 comments on commit 9befa4a

Please sign in to comment.