diff --git a/testsuite/MDAnalysisTests/coordinates/test_xdr.py b/testsuite/MDAnalysisTests/coordinates/test_xdr.py index f3277b6174..908c9be9a8 100644 --- a/testsuite/MDAnalysisTests/coordinates/test_xdr.py +++ b/testsuite/MDAnalysisTests/coordinates/test_xdr.py @@ -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