Skip to content

Commit

Permalink
Change test fixture scope to make test pass on Windows GitHub runner
Browse files Browse the repository at this point in the history
  • Loading branch information
MBartkowiakSTFC committed Mar 25, 2024
1 parent b7f161c commit 73fa60d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_scattering.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def qvector_spherical_lattice(trajectory):
)


@pytest.fixture(scope="function")
@pytest.fixture(scope="module")
def dcsf():
temp_name = tempfile.mktemp()
parameters = {}
Expand All @@ -54,7 +54,7 @@ def dcsf():
os.remove(temp_name + ".mda")


@pytest.fixture(scope="function")
@pytest.fixture(scope="module")
def disf():
temp_name = tempfile.mktemp()
parameters = {}
Expand Down

0 comments on commit 73fa60d

Please sign in to comment.