Skip to content

Commit

Permalink
Adjust error on disabled qctoolkit import
Browse files Browse the repository at this point in the history
  • Loading branch information
terrorfisch committed Jun 21, 2024
1 parent b2b6425 commit 4c92aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/serialization_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def my_callable():
self.assertIs(finder['qctoolkit.asd'], my_callable)

finder.qctoolkit_alias = False
with self.assertRaises(KeyError):
with self.assertRaises(ModuleNotFoundError):
finder['qctoolkit.asd']


Expand Down

0 comments on commit 4c92aba

Please sign in to comment.