MCPcopy Index your code
hub / github.com/python/cpython / test_unsafe_float_compare

Method test_unsafe_float_compare

Lib/test/test_sort.py:382–384  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

380 x in range(100)])
381
382 def test_unsafe_float_compare(self):
383 check_against_PyObject_RichCompareBool(self, [float(x) for
384 x in range(100)])
385
386 def test_unsafe_tuple_compare(self):
387 # This test was suggested by Tim Peters. It verifies that the tuple

Callers

nothing calls this directly

Tested by

no test coverage detected