@pytest.fixture
def source_path():
 pwd = os.path.dirname(__file__)
 return os.path.dirname(pwd)

@ pytest . fixture def source_path ( ) : pwd = os . path . dirname ( __file__ ) return os . path . dirname ( pwd )
get the xonsh source path .