diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-03-24 15:12:20 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-03-24 15:12:20 -0400 |
commit | 7f9d40fe5474a6f59e9a1cf2c52179f77f9a1714 (patch) | |
tree | 5921bf309f131635256e63c062ee8d400f46bfdb /test/test_files.py | |
parent | f143f15d06ca120034c6178036243aa90a4ef8e6 (diff) | |
download | python-coveragepy-git-7f9d40fe5474a6f59e9a1cf2c52179f77f9a1714.tar.gz |
When looking for python files, don't take suspicious ones. Fixes #168.
Diffstat (limited to 'test/test_files.py')
-rw-r--r-- | test/test_files.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_files.py b/test/test_files.py index 565bbaa4..a00a9680 100644 --- a/test/test_files.py +++ b/test/test_files.py @@ -151,6 +151,7 @@ class FindPythonFilesTest(CoverageTest): self.make_file("sub/x.c") # nope: not .py self.make_file("sub/ssub/__init__.py") self.make_file("sub/ssub/s.py") + self.make_file("sub/ssub/~s.py") # nope: editor effluvia self.make_file("sub/lab/exp.py") # nope: no __init__.py py_files = set(find_python_files("sub")) self.assert_same_files(py_files, [ |