mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
fix test_run_subproc
This commit is contained in:
parent
6afca7b754
commit
1931f478d6
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
import os
|
||||
import sys
|
||||
import builtins
|
||||
|
||||
import pytest
|
||||
|
||||
|
@ -11,7 +10,7 @@ from tools import skip_if_on_windows
|
|||
|
||||
|
||||
@pytest.yield_fixture(autouse=True)
|
||||
def chdir_to_test_dir(xonsh_builtins):
|
||||
def chdir_to_test_dir():
|
||||
old_cwd = os.getcwd()
|
||||
new_cwd = os.path.dirname(__file__)
|
||||
os.chdir(new_cwd)
|
||||
|
|
Loading…
Add table
Reference in a new issue