summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-09-16 22:00:44 -0400
committerNed Batchelder <ned@nedbatchelder.com>2013-09-16 22:00:44 -0400
commit3e1afb3a75bf68517fa2436af4e04acbfacb246a (patch)
treee90c9cc5636b5ce985e264e3a14aeff1d72a6767 /tests
parent379659ccc655bb6e523d6f1a4ff1b3fe026b3742 (diff)
downloadpython-coveragepy-3e1afb3a75bf68517fa2436af4e04acbfacb246a.tar.gz
Find .pyw files when searching for source files.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_files.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_files.py b/tests/test_files.py
index eeb2264..d247a39 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",
])