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

Method check_int_rounding

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

Source from the content-addressed store, hash-verified

956 pytime_converter(value, time_rnd)
957
958 def check_int_rounding(self, pytime_converter, expected_func,
959 unit_to_sec=1, value_filter=None):
960 self._check_rounding(pytime_converter, expected_func,
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):

Callers 10

test_FromSecondsMethod · 0.80
test_AsSecondsDoubleMethod · 0.80
test_AsTimevalMethod · 0.80
test_AsTimespecMethod · 0.80
test_AsMillisecondsMethod · 0.80
test_AsMicrosecondsMethod · 0.80
test_object_to_time_tMethod · 0.80

Calls 1

_check_roundingMethod · 0.95

Tested by

no test coverage detected