From f5afae83cf71e48f7db29900356270f4545fe97e 2012-12-05 22:57:31 From: Thomas Kluyver Date: 2012-12-05 22:57:31 Subject: [PATCH] Fix irunner tests when $PYTHONSTARTUP is set. Closes gh-2655 --- diff --git a/IPython/lib/tests/test_irunner.py b/IPython/lib/tests/test_irunner.py index 2ffd755..d3d0e88 100644 --- a/IPython/lib/tests/test_irunner.py +++ b/IPython/lib/tests/test_irunner.py @@ -137,7 +137,7 @@ In [12]: exit def testPython(self): """Test the Python runner.""" - runner = irunner.PythonRunner(out=self.out) + runner = irunner.PythonRunner(out=self.out, args=['-E']) source = doctest_refactor_print(""" print 'hello, this is python'