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

Method test_double_const

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

unloadFunction · 0.90

Tested by

no test coverage detected