Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0a976c

Browse files
Temporary silence test broken by issue19255.
Remove unused variables.
1 parent 013bb91 commit e0a976c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Lib/test/test_io.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2691,7 +2691,8 @@ def test_rwpair_cleared_before_textio(self):
26912691

26922692
class PyTextIOWrapperTest(TextIOWrapperTest):
26932693
io = pyio
2694-
shutdown_error = "LookupError: unknown encoding: ascii"
2694+
#shutdown_error = "LookupError: unknown encoding: ascii"
2695+
shutdown_error = "TypeError: 'NoneType' object is not iterable"
26952696

26962697

26972698
class IncrementalNewlineDecoderTest(unittest.TestCase):

Python/import.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,6 @@ PyImport_Cleanup(void)
401401
PyObject *key, *value, *dict;
402402
PyInterpreterState *interp = PyThreadState_GET()->interp;
403403
PyObject *modules = interp->modules;
404-
PyObject *builtins_mod = NULL;
405-
PyObject *sys_mod = NULL;
406404
PyObject *weaklist = NULL;
407405
char **p;
408406

0 commit comments

Comments
 (0)