From 7f9d40fe5474a6f59e9a1cf2c52179f77f9a1714 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 24 Mar 2012 15:12:20 -0400 Subject: When looking for python files, don't take suspicious ones. Fixes #168. --- test/test_files.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/test_files.py') 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, [ -- cgit v1.2.1