summaryrefslogtreecommitdiff
path: root/test/test_func.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_func.py')
-rw-r--r--test/test_func.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_func.py b/test/test_func.py
index e8c746d..3b98209 100644
--- a/test/test_func.py
+++ b/test/test_func.py
@@ -58,12 +58,13 @@ class TestTests(testlib.TestCase):
rest = ['I0001',
# XXX : no use case for now :
'W0402', # deprecated module
- 'W0403', # implicit relative import
+ 'W0403', # implicit relative import,
+ 'W0407', # tested in test_misc.py
'W0410', # __future__ import not first statement
]
self.assertEqual(todo, rest)
else:
- self.assertEqual(todo, ['I0001'])
+ self.assertEqual(todo, ['I0001', 'W0407'])
class LintBuiltinModuleTest(LintTestUsingModule):
output = join(MSG_DIR, 'builtin_module.txt')