diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-09-21 22:14:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 21:14:41 +0200 |
commit | ed587be0d0383f2925bf7650e8ccf1bf3adc44f9 (patch) | |
tree | e3c1383d07db501be2e46f957c5cca8ea9bd0bbd /Lib/test/test_math.py | |
parent | 11636788da9e5e64ceef2ac80df330e8170a8d08 (diff) | |
download | cpython-ed587be0d0383f2925bf7650e8ccf1bf3adc44f9.tar.gz cpython-ed587be0d0383f2925bf7650e8ccf1bf3adc44f9.zip |
gh-108303: Move all math files to `Lib/test/mathdata/` (#109512)
Diffstat (limited to 'Lib/test/test_math.py')
-rw-r--r-- | Lib/test/test_math.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index b71d08b1124..d5d2197c36b 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -33,8 +33,8 @@ if __name__ == '__main__': else: file = __file__ test_dir = os.path.dirname(file) or os.curdir -math_testcases = os.path.join(test_dir, 'math_testcases.txt') -test_file = os.path.join(test_dir, 'cmath_testcases.txt') +math_testcases = os.path.join(test_dir, 'mathdata', 'math_testcases.txt') +test_file = os.path.join(test_dir, 'mathdata', 'cmath_testcases.txt') def to_ulps(x): @@ -2559,7 +2559,7 @@ class IsCloseTests(unittest.TestCase): def load_tests(loader, tests, pattern): from doctest import DocFileSuite - tests.addTest(DocFileSuite("ieee754.txt")) + tests.addTest(DocFileSuite(os.path.join("mathdata", "ieee754.txt"))) return tests if __name__ == '__main__': |