Skip to content

Commit 09b86c5

Browse files
dnicolodirgommers
authored andcommitted
TST: there is no need to build packages from a git repository
1 parent 063b0e0 commit 09b86c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def fixture(tmp_path_session):
154154
def generate_wheel_fixture(package):
155155
@pytest.fixture(scope='session')
156156
def fixture(tmp_path_session):
157-
with chdir(package_dir / package), in_git_repo_context():
157+
with chdir(package_dir / package):
158158
return tmp_path_session / mesonpy.build_wheel(tmp_path_session)
159159
return fixture
160160

@@ -163,7 +163,7 @@ def generate_editable_fixture(package):
163163
@pytest.fixture(scope='session')
164164
def fixture(tmp_path_session):
165165
shutil.rmtree(package_dir / package / '.mesonpy' / 'editable', ignore_errors=True)
166-
with chdir(package_dir / package), in_git_repo_context():
166+
with chdir(package_dir / package):
167167
return tmp_path_session / mesonpy.build_editable(tmp_path_session)
168168
return fixture
169169

0 commit comments

Comments
 (0)