mirror of
https://github.com/python/cpython.git
synced 2026-01-08 08:22:41 +00:00
Issue #26637: Fix test_io
The import machinery now raises a different exception when it fails at Python shutdown.
This commit is contained in:
parent
7285d520e0
commit
633ebda3ba
1 changed files with 1 additions and 2 deletions
|
|
@ -3079,8 +3079,7 @@ def test_rwpair_cleared_before_textio(self):
|
|||
|
||||
class PyTextIOWrapperTest(TextIOWrapperTest):
|
||||
io = pyio
|
||||
#shutdown_error = "LookupError: unknown encoding: ascii"
|
||||
shutdown_error = "TypeError: 'NoneType' object is not iterable"
|
||||
shutdown_error = "LookupError: unknown encoding: ascii"
|
||||
|
||||
|
||||
class IncrementalNewlineDecoderTest(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue