MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_float_with_nan

Function test_float_with_nan

extra_tests/snippets/stdlib_array.py:64–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62
63
64def test_float_with_nan():
65 f = float("nan")
66 a = array("f")
67 a.append(f)
68 assert not (a == a)
69 assert a != a
70 assert not (a < a)
71 assert not (a <= a)
72 assert not (a > a)
73 assert not (a >= a)
74
75
76test_float_with_nan()

Callers 1

stdlib_array.pyFile · 0.85

Calls 2

arrayClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected