collections.abc.tests: Remove some unnecessary code.
This commit is contained in:
parent
aded55c6e3
commit
08e5300afc
|
@ -503,14 +503,11 @@ class TestOneTrickPonyABCs(ABCTestCase):
|
|||
def close(self):
|
||||
pass
|
||||
Coroutine.register(CoroLike)
|
||||
try:
|
||||
self.assertTrue(isinstance(CoroLike(), Awaitable))
|
||||
self.assertTrue(issubclass(CoroLike, Awaitable))
|
||||
CoroLike = None
|
||||
finally:
|
||||
support.gc_collect() # Kill CoroLike to clean-up ABCMeta cache
|
||||
|
||||
|
||||
def test_Coroutine(self):
|
||||
def gen():
|
||||
yield
|
||||
|
|
Loading…
Reference in New Issue