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

Method check_float_rounding

Lib/test/test_time.py:963–966  ·  view source on GitHub ↗
(self, pytime_converter, expected_func,
                             unit_to_sec=1, value_filter=None)

Source from the content-addressed store, hash-verified

961 False, unit_to_sec, value_filter)
962
963 def check_float_rounding(self, pytime_converter, expected_func,
964 unit_to_sec=1, value_filter=None):
965 self._check_rounding(pytime_converter, expected_func,
966 True, unit_to_sec, value_filter)
967
968 def decimal_round(self, x):
969 d = decimal.Decimal(x)

Callers 4

test_object_to_time_tMethod · 0.80

Calls 1

_check_roundingMethod · 0.95

Tested by

no test coverage detected