File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ def test_pythonstartup_success(self):
248248 # errors based on https://github.com/python/cpython/issues/137576
249249 # case 1: error in user input, but PYTHONSTARTUP is fine
250250 startup_code = "print('notice from pythonstartup')"
251- with new_startup_env (code = startup_code , histfile = ".pythonhist" ) as startup_env :
251+ with new_startup_env (code = startup_code ) as startup_env :
252252 # -q to suppress noise
253253 p = spawn_repl ("-q" , env = os .environ | startup_env , isolated = False )
254254 p .stdin .write ("1/0" )
@@ -269,7 +269,7 @@ def test_pythonstartup_success(self):
269269 def test_pythonstartup_failure (self ):
270270 # case 2: error in PYTHONSTARTUP triggered by user input
271271 startup_code = "def foo():\n 1/0\n "
272- with new_startup_env (code = startup_code , histfile = ".asyncio_history" ) as startup_env :
272+ with new_startup_env (code = startup_code ) as startup_env :
273273 # -q to suppress noise
274274 p = spawn_repl ("-q" , env = os .environ | startup_env , isolated = False )
275275 p .stdin .write ("foo()" )
You can’t perform that action at this time.
0 commit comments