mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Use unicode (and bytes as appropriate)
This commit is contained in:
parent
80e7f27e62
commit
93c56828a6
2 changed files with 17 additions and 17 deletions
|
@ -254,7 +254,7 @@ class ProcessTestCase(unittest.TestCase):
|
|||
stdout=subprocess.PIPE,
|
||||
cwd=tmpdir)
|
||||
normcase = os.path.normcase
|
||||
self.assertEqual(normcase(p.stdout.read()), normcase(tmpdir))
|
||||
self.assertEqual(normcase(p.stdout.read()), bytes(normcase(tmpdir)))
|
||||
|
||||
def test_env(self):
|
||||
newenv = os.environ.copy()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue