Skip to content

Commit

Permalink
Update test_xdr.py
Browse files Browse the repository at this point in the history
moved back
  • Loading branch information
talagayev authored Dec 8, 2024
1 parent 77abba0 commit fc52a18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions testsuite/MDAnalysisTests/coordinates/test_xdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -892,9 +892,7 @@ def test_unsupported_format(self, traj):

@pytest.mark.skipif(get_userid() == 0, reason="cannot readonly as root")
def test_persistent_offsets_readonly(self, tmpdir):
test_file = Path(self.filename)
tmp_path = str(tmpdir)
shutil.copy(test_file, tmp_path)
shutil.copy(self.filename, str(tmpdir))

if os.name == 'nt':
# Windows platform has a unique way to deny write access
Expand Down

0 comments on commit fc52a18

Please sign in to comment.