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):
82
82
# if '.' not in oldname:
83
83
# self.assertEqual(oldmod, newmod)
84
84
85
- @unittest . expectedFailure
85
+ @expectedFailurePY2
86
86
def test_suspend_hooks (self ):
87
87
"""
88
88
Code like the try/except block here appears in Pyflakes v0.6.1. This
@@ -102,7 +102,7 @@ def test_suspend_hooks(self):
102
102
# The import should succeed again now:
103
103
import builtins
104
104
105
- @unittest . expectedFailure
105
+ @expectedFailurePY2
106
106
def test_disable_hooks (self ):
107
107
"""
108
108
Tests the old (deprecated) names. These deprecated aliases should be
@@ -139,7 +139,7 @@ def test_disable_hooks(self):
139
139
self .assertTrue (standard_library .detect_hooks ())
140
140
self .assertTrue (len (old_meta_path ) == len (sys .meta_path ))
141
141
142
- @unittest . expectedFailure
142
+ @expectedFailurePY2
143
143
def test_remove_hooks2 (self ):
144
144
"""
145
145
As above, but with the new names
You can’t perform that action at this time.
0 commit comments