Skip to content

Commit

Permalink
Windows need clear_chache first
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruibin-Liu committed Sep 29, 2023
1 parent 607743c commit 0f92ea1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_write_jcsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def test_write_jcsv():

compared_to = [CFD, "test_files", "mol2_moldf.jcsv"]
compared_to = f"{os.sep}".join(compared_to)
filecmp.clear_cache()
assert filecmp.cmp(write_to, compared_to), "mol2 jcsv writing incorrect."
os.remove(write_to)

Expand All @@ -43,6 +44,7 @@ def test_write_jcsv():

compared_to = [CFD, "test_files", "pdb_moldf.jcsv"]
compared_to = f"{os.sep}".join(compared_to)
filecmp.clear_cache()
assert filecmp.cmp(write_to, compared_to), "pdb jcsv writing incorrect."
os.remove(write_to)

Expand All @@ -56,5 +58,6 @@ def test_write_jcsv():

compared_to = [CFD, "test_files", "pdbx_moldf.jcsv"]
compared_to = f"{os.sep}".join(compared_to)
filecmp.clear_cache()
assert filecmp.cmp(write_to, compared_to), "pdbx jcsv writing incorrect."
os.remove(write_to)

0 comments on commit 0f92ea1

Please sign in to comment.