mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
gh-108303: Update test_fractions for new Lib/test/mathdata/ (#109686)
This commit is contained in:
parent
e47d12e222
commit
5b8f024683
@ -18,7 +18,7 @@ F = fractions.Fraction
|
||||
|
||||
#locate file with float format test values
|
||||
test_dir = os.path.dirname(__file__) or os.curdir
|
||||
format_testfile = os.path.join(test_dir, 'formatfloat_testcases.txt')
|
||||
format_testfile = os.path.join(test_dir, 'mathdata', 'formatfloat_testcases.txt')
|
||||
|
||||
class DummyFloat(object):
|
||||
"""Dummy float class for testing comparisons with Fractions"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user