mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
gh-118908: Limit exposed globals from internal imports and definitions on new REPL startup (#119547)
This commit is contained in:
parent
0335662fe1
commit
86a8a1c57a
4 changed files with 83 additions and 8 deletions
|
@ -1,9 +1,9 @@
|
|||
"""Test the interactive interpreter."""
|
||||
|
||||
import sys
|
||||
import os
|
||||
import unittest
|
||||
import subprocess
|
||||
import sys
|
||||
import unittest
|
||||
from textwrap import dedent
|
||||
from test import support
|
||||
from test.support import cpython_only, has_subprocess_support, SuppressCrashReport
|
||||
|
@ -199,7 +199,6 @@ class TestInteractiveInterpreter(unittest.TestCase):
|
|||
assert_python_ok("-m", "asyncio")
|
||||
|
||||
|
||||
|
||||
class TestInteractiveModeSyntaxErrors(unittest.TestCase):
|
||||
|
||||
def test_interactive_syntax_error_correct_line(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue