diff tests/test-check-pyflakes.t @ 22047:8fb6844a4ff1

tests: change some #ifs to #requires
author Matt Mackall <mpm@selenic.com>
date Wed, 06 Aug 2014 11:53:08 -0500
parents 507ce509fd22
children 4354b1e35f53
line wrap: on
line diff
--- a/tests/test-check-pyflakes.t	Wed Aug 06 11:43:59 2014 -0500
+++ b/tests/test-check-pyflakes.t	Wed Aug 06 11:53:08 2014 -0500
@@ -1,4 +1,4 @@
-#if test-repo pyflakes
+#require test-repo pyflakes
 
   $ cd "`dirname "$TESTDIR"`"
 
@@ -18,5 +18,3 @@
   tests/hghave.py:*: 'ssl' imported but unused (glob)
   contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob)
   tests/filterpyflakes.py:58: undefined name 'undefinedname'
-  
-#endif