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

Method test_double_const

Lib/test/test_import/__init__.py:441–447  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

439 import RAnDoM
440
441 def test_double_const(self):
442 # Importing double_const checks that float constants
443 # serialized by marshal as PYC files don't lose precision
444 # (SF bug 422177).
445 from test.test_import.data import double_const
446 unload('test.test_import.data.double_const')
447 from test.test_import.data import double_const # noqa: F811
448
449 def test_import(self):
450 def test_with_extension(ext):

Callers

nothing calls this directly

Calls 1

unloadFunction · 0.90

Tested by

no test coverage detected