]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35742: Fix test_envar_unimportable in test_builtin. (GH-11561)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Jan 2019 11:45:57 +0000 (03:45 -0800)
committerGitHub <noreply@github.com>
Tue, 15 Jan 2019 11:45:57 +0000 (03:45 -0800)
commit97d6a56d9d169f35cf2a24d62bf15adfc42fc672
tree5063c550f23e518407ce856e22a281943670713e
parent0bb6b891154b5718c2d7604fc4aa7a51a2f9fe70
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.
(cherry picked from commit 3607ef43c4a1a24d44f39ff54a77fc0af5bfa09a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_builtin.py
Python/sysmodule.c