Skip to content

Commit e15f1ca

Browse files
committed
-
1 parent d4dde72 commit e15f1ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test_python_toolbox/test_cute_testing/test_raise_assertor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ def test_assert_exact_type():
100100
raise KeyError("Look at me, I'm a KeyError")
101101

102102
error_message = (
103-
"was raised, and it *is* an instance of the `LookupError` we were "
104-
"expecting; but its type is not `LookupError`, it's `KeyError`, which "
105-
"is a subclass of `LookupError`, but you specified "
103+
"was raised, and it *is* an instance of the LookupError we were "
104+
"expecting; but its type is not LookupError, it's KeyError, which "
105+
"is a subclass of LookupError, and you specified "
106106
"`assert_exact_type=True`, so subclasses aren't acceptable."
107107
)
108108

0 commit comments

Comments
 (0)