mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue #16803: Stop having test.test_importlib.abc ABCs inherit from
unittest.TestCase in prep of running tests under frozen and source importlib.
This commit is contained in:
parent
c60dd5b0d4
commit
b3d6afff2b
9 changed files with 16 additions and 16 deletions
|
|
@ -2,7 +2,7 @@ import abc
|
|||
import unittest
|
||||
|
||||
|
||||
class FinderTests(unittest.TestCase, metaclass=abc.ABCMeta):
|
||||
class FinderTests(metaclass=abc.ABCMeta):
|
||||
|
||||
"""Basic tests for a finder to pass."""
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ class FinderTests(unittest.TestCase, metaclass=abc.ABCMeta):
|
|||
pass
|
||||
|
||||
|
||||
class LoaderTests(unittest.TestCase, metaclass=abc.ABCMeta):
|
||||
class LoaderTests(metaclass=abc.ABCMeta):
|
||||
|
||||
@abc.abstractmethod
|
||||
def test_module(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue