[Python-checkins] cpython: Temporary silence test broken by issue19255.
serhiy.storchaka
python-checkins at python.org
Mon Feb 10 18:09:43 CET 2014
http://hg.python.org/cpython/rev/fa160c8145e5
changeset: 89098:fa160c8145e5
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Feb 10 19:09:19 2014 +0200
summary:
Temporary silence test broken by issue19255.
Remove unused variables.
files:
Lib/test/test_io.py | 3 ++-
Python/import.c | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -2691,7 +2691,8 @@
class PyTextIOWrapperTest(TextIOWrapperTest):
io = pyio
- shutdown_error = "LookupError: unknown encoding: ascii"
+ #shutdown_error = "LookupError: unknown encoding: ascii"
+ shutdown_error = "TypeError: 'NoneType' object is not iterable"
class IncrementalNewlineDecoderTest(unittest.TestCase):
diff --git a/Python/import.c b/Python/import.c
--- a/Python/import.c
+++ b/Python/import.c
@@ -401,8 +401,6 @@
PyObject *key, *value, *dict;
PyInterpreterState *interp = PyThreadState_GET()->interp;
PyObject *modules = interp->modules;
- PyObject *builtins_mod = NULL;
- PyObject *sys_mod = NULL;
PyObject *weaklist = NULL;
char **p;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list