mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-108303: Move double_const to test_import where it belongs (#112108)
This commit is contained in:
parent
d7b5f10231
commit
0738b9a338
2 changed files with 6 additions and 3 deletions
|
|
@ -409,9 +409,12 @@ def test_case_sensitivity(self):
|
|||
import RAnDoM
|
||||
|
||||
def test_double_const(self):
|
||||
# Another brief digression to test the accuracy of manifest float
|
||||
# constants.
|
||||
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).
|
||||
from test.test_import.data import double_const
|
||||
unload('test.test_import.data.double_const')
|
||||
from test.test_import.data import double_const
|
||||
|
||||
def test_import(self):
|
||||
def test_with_extension(ext):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue