[New-bugs-announce] [issue35742] test_builtin fails after merging the fix for bpo-34756
Chih-Hsuan Yen
report at bugs.python.org
Tue Jan 15 04:43:57 EST 2019
New submission from Chih-Hsuan Yen <yen at chyen.cc>:
On git-master (32ebd8508d4807a7c85d2ed8e9c3b44ecd6de591) of CPython, 3 tests of test_builtin fails:
======================================================================
ERROR: test_envar_unimportable (test.test_builtin.TestBreakpoint) (envar='.')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/yen/Projects/cpython/Lib/test/test_builtin.py", line 1618, in test_envar_unimportable
breakpoint()
ValueError: Empty module name
======================================================================
ERROR: test_envar_unimportable (test.test_builtin.TestBreakpoint) (envar='.foo')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/yen/Projects/cpython/Lib/test/test_builtin.py", line 1618, in test_envar_unimportable
breakpoint()
ValueError: Empty module name
======================================================================
ERROR: test_envar_unimportable (test.test_builtin.TestBreakpoint) (envar='.int')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/yen/Projects/cpython/Lib/test/test_builtin.py", line 1618, in test_envar_unimportable
breakpoint()
ValueError: Empty module name
----------------------------------------------------------------------
If I revert 6fe9c446f8302553952f63fc6d96be4dfa48ceba, tests pass. This commit is from issue34756, so I add the author of that patch to the nosy list.
Environment: Arch Linux x86_64
Steps to reproduce:
$ ./configure
$ make
$ ./python -m test -v test_builtin
----------
components: Tests
messages: 333655
nosy: serhiy.storchaka, yan12125
priority: normal
severity: normal
status: open
title: test_builtin fails after merging the fix for bpo-34756
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35742>
_______________________________________
More information about the New-bugs-announce
mailing list