mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
Issue #19596: Set untestable tests in test_importlib to None
to avoid reporting success on empty tests.
This commit is contained in:
parent
30d8e167ff
commit
4accf45f0e
7 changed files with 29 additions and 55 deletions
|
|
@ -32,17 +32,11 @@ class LoaderTests(abc.LoaderTests):
|
|||
module = self.load_module(builtin_util.NAME)
|
||||
self.verify(module)
|
||||
|
||||
def test_package(self):
|
||||
# Built-in modules cannot be a package.
|
||||
pass
|
||||
# Built-in modules cannot be a package.
|
||||
test_package = test_lacking_parent = None
|
||||
|
||||
def test_lacking_parent(self):
|
||||
# Built-in modules cannot be a package.
|
||||
pass
|
||||
|
||||
def test_state_after_failure(self):
|
||||
# Not way to force an imoprt failure.
|
||||
pass
|
||||
# No way to force an import failure.
|
||||
test_state_after_failure = None
|
||||
|
||||
def test_module_reuse(self):
|
||||
# Test that the same module is used in a reload.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue