We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
double_const
test_import
1 parent d7b5f10 commit 0738b9aCopy full SHA for 0738b9a
Lib/test/test_import/__init__.py
@@ -409,9 +409,12 @@ def test_case_sensitivity(self):
409
import RAnDoM
410
411
def test_double_const(self):
412
- # Another brief digression to test the accuracy of manifest float
413
- # constants.
414
- from test import double_const # don't blink -- that *was* the test
+ # Importing double_const checks that float constants
+ # serialiazed by marshal as PYC files don't lose precision
+ # (SF bug 422177).
415
+ from test.test_import.data import double_const
416
+ unload('test.test_import.data.double_const')
417
418
419
def test_import(self):
420
def test_with_extension(ext):
Lib/test/double_const.py renamed to Lib/test/test_import/data/double_const.py
0 commit comments