Fix new test

This commit is contained in:
Stan Ulbrych 2025-06-19 17:24:50 +01:00
parent 23e4a6f0e5
commit fed61fbb8b
No known key found for this signature in database
GPG key ID: B8E58DBDB2A1A0B8

View file

@ -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__':