We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ValueError
1 parent 88f2cfa commit 0e4668cCopy full SHA for 0e4668c
src/tests/test_conversion.py
@@ -343,7 +343,7 @@ def test_uint32_conversion():
343
ob.UInt32Field = System.UInt32(0)
344
assert ob.UInt32Field == 0
345
346
- with pytest.raises(TypeError):
+ with pytest.raises(ValueError):
347
ConversionTest().UInt32Field = "spam"
348
349
with pytest.raises(TypeError):
@@ -382,7 +382,7 @@ def test_uint64_conversion():
382
ob.UInt64Field = System.UInt64(0)
383
assert ob.UInt64Field == 0
384
385
386
ConversionTest().UInt64Field = "spam"
387
388
0 commit comments