minor fix, jython-only. Don't asssume stdout to save is the ur-stdout.
diff --git a/Lib/test/test_codeop.py b/Lib/test/test_codeop.py
index c2f8539..630af49 100644
--- a/Lib/test/test_codeop.py
+++ b/Lib/test/test_codeop.py
@@ -26,12 +26,13 @@
             self.assert_(code)
             if symbol == "single":
                 d,r = {},{}
+                saved_stdout = sys.stdout
                 sys.stdout = cStringIO.StringIO()
                 try:
                     exec code in d
                     exec compile(str,"<input>","single") in r
                 finally:
-                    sys.stdout = sys.__stdout__
+                    sys.stdout = saved_stdout
             elif symbol == 'eval':
                 ctx = {'a': 2}
                 d = { 'value': eval(code,ctx) }