]> granicus.if.org Git - python/commitdiff
Temporary silence test broken by issue19255.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 10 Feb 2014 17:09:19 +0000 (19:09 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 10 Feb 2014 17:09:19 +0000 (19:09 +0200)
Remove unused variables.

Lib/test/test_io.py
Python/import.c

index 23edee69ed890ba6a93d933151d8d2e526bb9073..4182da3aae0836ef0f2e54ef1980118480fb307c 100644 (file)
@@ -2691,7 +2691,8 @@ class CTextIOWrapperTest(TextIOWrapperTest):
 
 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):
index 207dbced4141da40f57ae61a895bb1d13676011c..7972f8612f7e2b5ff03d40729768a4ce6f8146f0 100644 (file)
@@ -401,8 +401,6 @@ PyImport_Cleanup(void)
     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;