mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
bpo-35742: Fix test_envar_unimportable in test_builtin. (GH-11561)
Handle the case of an empty module name in PYTHONBREAKPOINT. Fixes a regression introduced in bpo-34756.
This commit is contained in:
parent
b91140fdb1
commit
3607ef43c4
2 changed files with 16 additions and 10 deletions
|
@ -1608,6 +1608,7 @@ class TestBreakpoint(unittest.TestCase):
|
|||
def test_envar_unimportable(self):
|
||||
for envar in (
|
||||
'.', '..', '.foo', 'foo.', '.int', 'int.',
|
||||
'.foo.bar', '..foo.bar', '/./',
|
||||
'nosuchbuiltin',
|
||||
'nosuchmodule.nosuchcallable',
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue