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.
1 parent 044781e commit 5cc8faaCopy full SHA for 5cc8faa
tests/test_conversion.py
@@ -406,8 +406,8 @@ def test_uint64_conversion():
406
407
def test_single_conversion():
408
"""Test single conversion."""
409
- assert System.Single.MaxValue == 3.402823e38
410
- assert System.Single.MinValue == -3.402823e38
+ assert System.Single.MaxValue == pytest.approx(3.402823e38)
+ assert System.Single.MinValue == pytest.approx(-3.402823e38)
411
412
ob = ConversionTest()
413
assert ob.SingleField == 0.0
0 commit comments