summaryrefslogtreecommitdiff
path: root/tests/test_files.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-11-28 16:17:35 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-11-28 16:17:35 -0500
commit5901967e95ae72ec2b5be05bc08e1924e08a604b (patch)
treec4cef786d1a0d9f596b3545111ddae2f8f14ff25 /tests/test_files.py
parent4e3e44bcea08674219e2ed16617633a562763f67 (diff)
downloadpython-coveragepy-git-5901967e95ae72ec2b5be05bc08e1924e08a604b.tar.gz
Don't do vars and users in abs_file
It meant file names could be incorrectly expanded.
Diffstat (limited to 'tests/test_files.py')
-rw-r--r--tests/test_files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_files.py b/tests/test_files.py
index e271da1b..1aeacb51 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -357,7 +357,7 @@ class PathAliasesTest(CoverageTest):
self.assert_mapped(aliases, '/foo/bar/d2/y.py', './mysrc2/y.py')
def test_dot(self):
- cases = ['.', '..', '../other', '~']
+ cases = ['.', '..', '../other']
if not env.WINDOWS:
# The root test case was added for the manylinux Docker images,
# and I'm not sure how it should work on Windows, so skip it.