mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
test_support was renamed to support on py3k.
This commit is contained in:
parent
5afb5c6630
commit
7195963aa2
3 changed files with 4 additions and 4 deletions
|
@ -419,7 +419,7 @@ class PosixPathTest(unittest.TestCase):
|
|||
self.assert_(isinstance(posixpath.expanduser(b"~root/"), bytes))
|
||||
self.assert_(isinstance(posixpath.expanduser(b"~foo/"), bytes))
|
||||
|
||||
with test_support.EnvironmentVarGuard() as env:
|
||||
with support.EnvironmentVarGuard() as env:
|
||||
env.set('HOME', '/')
|
||||
self.assertEqual(posixpath.expanduser("~"), "/")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue