mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Fix new test
This commit is contained in:
parent
23e4a6f0e5
commit
fed61fbb8b
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
from test.support import cpython_only, os_helper
|
||||
from test.support.import_helper import ensure_lazy_imports
|
||||
|
||||
|
||||
# TODO:
|
||||
# - Add new tests, for example for "dgettext"
|
||||
# - Tests should have only one assert.
|
||||
|
|
@ -982,7 +983,7 @@ def test__all__(self):
|
|||
|
||||
@cpython_only
|
||||
def test_lazy_import(self):
|
||||
ensure_lazy_imports("gettext", {"re", "warnings", "locale"})
|
||||
ensure_lazy_imports("gettext", {"re", "warnings"})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue