File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def test_is_py2_stdlib_module(self):
8282 # if '.' not in oldname:
8383 # self.assertEqual(oldmod, newmod)
8484
85- @unittest . expectedFailure
85+ @expectedFailurePY2
8686 def test_suspend_hooks (self ):
8787 """
8888 Code like the try/except block here appears in Pyflakes v0.6.1. This
@@ -102,7 +102,7 @@ def test_suspend_hooks(self):
102102 # The import should succeed again now:
103103 import builtins
104104
105- @unittest . expectedFailure
105+ @expectedFailurePY2
106106 def test_disable_hooks (self ):
107107 """
108108 Tests the old (deprecated) names. These deprecated aliases should be
@@ -139,7 +139,7 @@ def test_disable_hooks(self):
139139 self .assertTrue (standard_library .detect_hooks ())
140140 self .assertTrue (len (old_meta_path ) == len (sys .meta_path ))
141141
142- @unittest . expectedFailure
142+ @expectedFailurePY2
143143 def test_remove_hooks2 (self ):
144144 """
145145 As above, but with the new names
You can’t perform that action at this time.
0 commit comments