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

Method test_bigcomp

Lib/test/test_strtod.py:210–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

208
209 @unittest.expectedFailure # TODO: RUSTPYTHON
210 def test_bigcomp(self):
211 for ndigs in 5, 10, 14, 15, 16, 17, 18, 19, 20, 40, 41, 50:
212 dig10 = 10**ndigs
213 for i in range(10 * TEST_SIZE):
214 digits = random.randrange(dig10)
215 exponent = random.randrange(-400, 400)
216 s = '{}e{}'.format(digits, exponent)
217 self.check_strtod(s)
218
219 @unittest.skip("TODO: RUSTPYTHON; flaky test")
220 def test_parsing(self):

Callers

nothing calls this directly

Calls 3

check_strtodMethod · 0.95
randrangeMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected