filterpyflakes: filter WindowsError unconditionally
authorMatt Mackall <mpm@selenic.com>
Tue, 13 May 2014 19:29:45 -0500
changeset 21294 1ae3cd6f836c
parent 21293 507ce509fd22
child 21295 883e268cb860
filterpyflakes: filter WindowsError unconditionally
tests/filterpyflakes.py
--- a/tests/filterpyflakes.py	Tue May 13 19:22:40 2014 -0500
+++ b/tests/filterpyflakes.py	Tue May 13 19:29:45 2014 -0500
@@ -33,7 +33,7 @@
             (r"local variable '.*' is assigned to but never used", None),
             (r"unable to detect undefined names", None),
             (r"undefined name '.*'",
-             r"undefined name 'memoryview'")
+             r"undefined name '(WindowsError|memoryview)'")
            ]
 
     for msgtype, (pat, excl) in enumerate(pats):