diff --git a/Lib/test/test__xxsubinterpreters.py b/Lib/test/test__xxsubinterpreters.py index 97314ddbb55ec8..ad349d5d4f749c 100644 --- a/Lib/test/test__xxsubinterpreters.py +++ b/Lib/test/test__xxsubinterpreters.py @@ -796,6 +796,11 @@ def test_sys_exit(self): sys.exit(42) """)) + def test_import_capsule(self): + interpreters.run_string(self.id, dedent(""" + import zoneinfo + """)) + def test_with_shared(self): r, w = os.pipe()