mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-108303: Update test_fractions for new Lib/test/mathdata/ (#109686)
This commit is contained in:
parent
e47d12e222
commit
5b8f024683
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue