Skip to content

Commit

Permalink
Aligning with sktime test
Browse files Browse the repository at this point in the history
  • Loading branch information
Luigi Giugliano committed Dec 21, 2024
1 parent 9792d26 commit 5e39683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skbase/utils/dependencies/tests/test_check_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class DummyObjectClass(BaseObject):
"This is due to the release candidate status of your system Python."
)

if not expect_exception or not exception.msg == expected_msg:
if not expect_exception or exception.msg != expected_msg:
# Throw Error since exception is not expected or has not the correct message
raise AssertionError(
"ModuleNotFoundError should be NOT raised by:",
Expand Down

0 comments on commit 5e39683

Please sign in to comment.