Commit 961ee6af authored by Fredrik Lundh's avatar Fredrik Lundh

normalize case when comparing directory names (problem reported by

"Khalid A. B." on python-dev)
parent 4428f980
...@@ -216,7 +216,8 @@ class ProcessTestCase(unittest.TestCase): ...@@ -216,7 +216,8 @@ class ProcessTestCase(unittest.TestCase):
'sys.stdout.write(os.getcwd())'], 'sys.stdout.write(os.getcwd())'],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
cwd=tmpdir) cwd=tmpdir)
self.assertEqual(p.stdout.read(), tmpdir) normcase = os.path.normcase
self.assertEqual(normcase(p.stdout.read()), normcase(tmpdir))
def test_env(self): def test_env(self):
newenv = os.environ.copy() newenv = os.environ.copy()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment