Skip to content

Commit

Permalink
Change conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane committed Sep 22, 2023
1 parent feb79e3 commit 6e759a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def pytest_configure(config):
data = yaml.load(f, Loader=yaml.FullLoader)

try:
if "tests" in data:
if "tests" in data and data["tests"] != {}:
print(f"Removing tests cache for `{os.path.basename(md5sum_file)}`")
data["tests"] = {}
with open(md5sum_file, "w") as f:
Expand Down

0 comments on commit 6e759a3

Please sign in to comment.