bpo-46425: fix direct invocation of test_fileutils and test_zoneinfo (GH-30792)

This commit is contained in:
Nikita Sobolev 2022-01-22 19:05:43 +03:00 committed by GitHub
parent 57316c52ba
commit 1f8014c5b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -15,7 +15,7 @@ class PathTests(unittest.TestCase):
if os.name == 'nt':
raise unittest.SkipTest('Windows has its own helper for this')
else:
from .test_posixpath import PosixPathTest as posixdata
from test.test_posixpath import PosixPathTest as posixdata
tests = posixdata.NORMPATH_CASES
for filename, expected in tests:
if not os.path.isabs(filename):