diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-16 22:00:44 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-16 22:00:44 -0400 |
commit | b5ff17dbadb4ae4c7aaa9d35cfdf6ef633a9ccf3 (patch) | |
tree | f05005d313c9e62684c092c2ab4c270bfcfd1e76 /tests/test_files.py | |
parent | 5ab6e055652510139a52219f58e5c6f3d22c272e (diff) | |
download | python-coveragepy-git-b5ff17dbadb4ae4c7aaa9d35cfdf6ef633a9ccf3.tar.gz |
Find .pyw files when searching for source files.
Diffstat (limited to 'tests/test_files.py')
-rw-r--r-- | tests/test_files.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_files.py b/tests/test_files.py index eeb22643..d247a395 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -167,8 +167,10 @@ class FindPythonFilesTest(CoverageTest): 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 + self.make_file("sub/windows.pyw") py_files = set(find_python_files("sub")) self.assert_same_files(py_files, [ "sub/a.py", "sub/b.py", "sub/ssub/__init__.py", "sub/ssub/s.py", + "sub/windows.pyw", ]) |