Update tests/test_utils_typecast.py
Run CI Tests / test (push) Successful in 31s

This commit is contained in:
2025-07-29 23:42:36 +02:00
parent 9aed7af2a3
commit 9642f29f39
+1 -1
View File
@@ -31,7 +31,7 @@ def test_downcast_success():
def test_upcast_success():
b = Bulldog()
assert b.snore() == "woooooof"
assert not hasattr(b, "speak")
assert b.speak() == "woof" #from Dog
upcast(b, Dog)
assert b.speak() == "woof"
assert not hasattr(b, "snore")