summaryrefslogtreecommitdiff
path: root/testsuite/test_util.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2020-11-04 16:00:33 -0800
committerGitHub <noreply@github.com>2020-11-04 16:00:33 -0800
commita35d409e24d8b94e6a5b504acc659fdbcf862513 (patch)
tree955b9052b0490a39df6ad26c2f20432edd631d05 /testsuite/test_util.py
parenta1b1f7c795ace4c186fd76ec6df994deb716cea8 (diff)
parent8dcb7573a2c3a469b2182831dc98fbb693fe0f6d (diff)
downloadpep8-a35d409e24d8b94e6a5b504acc659fdbcf862513.tar.gz
Merge pull request #967 from JPeterMugaas/wintests
Windows path issues
Diffstat (limited to 'testsuite/test_util.py')
-rw-r--r--testsuite/test_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/test_util.py b/testsuite/test_util.py
index 8eaba7e..7eff16a 100644
--- a/testsuite/test_util.py
+++ b/testsuite/test_util.py
@@ -18,6 +18,6 @@ class UtilTestCase(unittest.TestCase):
self.assertEqual(normalize_paths('foo,bar'), ['foo', 'bar'])
self.assertEqual(normalize_paths('foo, bar '), ['foo', 'bar'])
self.assertEqual(normalize_paths('/foo/bar,baz/../bat'),
- ['/foo/bar', cwd + '/bat'])
+ [os.path.realpath('/foo/bar'), cwd + '/bat'])
self.assertEqual(normalize_paths(".pyc,\n build/*"),
['.pyc', cwd + '/build/*'])