Skip to content

Commit 694dbbd

Browse files
committed
Snarky comment
1 parent 885aac1 commit 694dbbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/serialization_tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,7 @@ def my_callable():
736736
self.assertIs(finder['qctoolkit.asd'], my_callable)
737737

738738
finder.qctoolkit_alias = False
739-
with self.assertRaises(KeyError):
740-
# This was a ModuleNotFoundError before the qctoolkit alias package was removed
739+
with self.assertRaises(ModuleNotFoundError):
741740
finder['qctoolkit.asd']
742741

743742

0 commit comments

Comments
 (0)