aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 729b8667fc8..c4e05359480 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -987,8 +987,8 @@ class SysModuleTest(unittest.TestCase):
proc)
def test_module_names(self):
- self.assertIsInstance(sys.module_names, frozenset)
- for name in sys.module_names:
+ self.assertIsInstance(sys.stdlib_module_names, frozenset)
+ for name in sys.stdlib_module_names:
self.assertIsInstance(name, str)