Skip to content

Commit

Permalink
Update test_xdr.py
Browse files Browse the repository at this point in the history
required removal of asser_equal to not get the error, since now the files, dont't end with lock and the removal of the end would be a duplicate of the other assert_equal
  • Loading branch information
talagayev authored Nov 23, 2024
1 parent 3cd7307 commit b66e3d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions testsuite/MDAnalysisTests/coordinates/test_xdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,9 +907,6 @@ def test_persistent_offsets_readonly(self, tmpdir):
pytest.warns(UserWarning, match="Cannot write")):
self._reader(filename)
assert_equal(os.path.exists(XDR.offsets_filename(filename)), False)
# check the lock file is not created as well.
assert_equal(os.path.exists(XDR.offsets_filename(filename,
ending='.lock')), False)

# pre-teardown permission fix - leaving permission blocked dir
# is problematic on py3.9 + Windows it seems. See issue
Expand Down

0 comments on commit b66e3d2

Please sign in to comment.