mirror of
https://github.com/python/cpython.git
synced 2025-11-23 11:57:09 +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
|
|
@ -65,9 +65,8 @@ class LoaderTests(abc.LoaderTests):
|
|||
self.assertEqual(repr(module),
|
||||
"<module '__hello__' (frozen)>")
|
||||
|
||||
def test_state_after_failure(self):
|
||||
# No way to trigger an error in a frozen module.
|
||||
pass
|
||||
# No way to trigger an error in a frozen module.
|
||||
test_state_after_failure = None
|
||||
|
||||
def test_unloadable(self):
|
||||
assert machinery.FrozenImporter.find_module('_not_real') is None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue