diff options
author | cpopa <devnull@localhost> | 2014-01-22 00:24:43 +0200 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-01-22 00:24:43 +0200 |
commit | 89132cbec80eeea0976f4ab4e8c10d44019bd934 (patch) | |
tree | ff865c300357ce3503d8a883f7689e41d800de3e /test/test_func.py | |
parent | baf09d25e4fe7ccb3bd49cab5d4a27c2cc97dcb4 (diff) | |
download | pylint-89132cbec80eeea0976f4ab4e8c10d44019bd934.tar.gz |
Fix tests for handling the fact that all style are newstyle classes in Python 3.
Diffstat (limited to 'test/test_func.py')
-rw-r--r-- | test/test_func.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test_func.py b/test/test_func.py index e8c746d..5590dc9 100644 --- a/test/test_func.py +++ b/test/test_func.py @@ -55,12 +55,16 @@ class TestTests(testlib.TestCase): continue todo.sort() if PY3K: - rest = ['I0001', + rest = ['E1001', # slots-on-old-class + 'E1002', # super-on-old-class # XXX : no use case for now : + 'I0001', 'W0402', # deprecated module 'W0403', # implicit relative import 'W0410', # __future__ import not first statement - ] + 'W0710', # nonstandard-exception + 'W1001' # property-on-old-class + ] self.assertEqual(todo, rest) else: self.assertEqual(todo, ['I0001']) |