File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed
Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -145,27 +145,6 @@ def decorator(func):
145145 return func
146146
147147
148- class Compat :
149- """A mixin that lets older Pythons use newer unittest features."""
150-
151- if sys .version_info < (3 , 8 ):
152-
153- @classmethod
154- def setUpClass (cls ):
155- super ().setUpClass ()
156- cls ._cleanups = []
157-
158- @classmethod
159- def tearDownClass (cls ):
160- super ().tearDownClass ()
161- for cleanup in cls ._cleanups :
162- cleanup ()
163-
164- @classmethod
165- def addClassCleanup (cls , cleanup ):
166- cls ._cleanups .append (cleanup )
167-
168-
169148#############################
170149# functional tests
171150
@@ -181,7 +160,7 @@ def SLOW(f):
181160 return unittest .skip ("way too slow" )(mark ("slow" , f ))
182161
183162
184- class Functional ( Compat ) :
163+ class Functional :
185164 """A mixin for functional tests.
186165
187166 In this context, "functional" means the test touches the filesystem,
You can’t perform that action at this time.
0 commit comments