[issue42694] Failed test_new_curses_panel in test_curses

Serhiy Storchaka report at bugs.python.org
Sun Dec 20 16:10:00 EST 2020


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

======================================================================
FAIL: test_new_curses_panel (test.test_curses.TestCurses)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_curses.py", line 425, in test_new_curses_panel
    self.assertRaises(TypeError, type(panel))
AssertionError: TypeError not raised by panel

----------------------------------------------------------------------

The regression was introduced in 1baf030a902392fe92d934ed0fb6a385cf7d8869 (issue1635741). It can lead to crash because creation of non-initialized object is allowed now. See issue23815 for details.

----------
messages: 383453
nosy: serhiy.storchaka, vstinner
priority: normal
severity: normal
status: open
title: Failed test_new_curses_panel in test_curses
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42694>
_______________________________________


More information about the Python-bugs-list mailing list