summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_subprocess.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-26 07:10:06 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-26 07:10:06 (GMT)
commit93c56828a6741c41e3d248f913656332f8d2d77e (patch)
tree58bcc71a7c2b72a4d0103a385a0a14b8cc7f2f20 /Lib/test/test_subprocess.py
parent80e7f27e62353eeaf1f3dcf9f2bfd016b039f4b8 (diff)
downloadcpython-93c56828a6741c41e3d248f913656332f8d2d77e.zip
cpython-93c56828a6741c41e3d248f913656332f8d2d77e.tar.gz
cpython-93c56828a6741c41e3d248f913656332f8d2d77e.tar.bz2
Use unicode (and bytes as appropriate)
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r--Lib/test/test_subprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 2421a6b..ffbd14d 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -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()