changeset 21294:1ae3cd6f836c

filterpyflakes: filter WindowsError unconditionally
author Matt Mackall <mpm@selenic.com>
date Tue, 13 May 2014 19:29:45 -0500
parents 507ce509fd22
children 883e268cb860
files tests/filterpyflakes.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):