Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
double_const
test_import
1 parent 663945e commit ac8adf9Copy full SHA for ac8adf9
Lib/test/test_import/__init__.py
@@ -406,9 +406,12 @@ def test_case_sensitivity(self):
406
import RAnDoM
407
408
def test_double_const(self):
409
- # Another brief digression to test the accuracy of manifest float
410
- # constants.
411
- 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).
412
+ from test.test_import.data import double_const
413
+ unload('test.test_import.data.double_const')
414
415
416
def test_import(self):
417
def test_with_extension(ext):
Lib/test/double_const.py renamed to Lib/test/test_import/data/double_const.py
0 commit comments