Skip to content

Commit

Permalink
Apparently using brackets to group context managers is py3.10+...
Browse files Browse the repository at this point in the history
  • Loading branch information
pckroon committed Oct 3, 2023
1 parent c55b505 commit 345918b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vermouth/tests/test_dssp.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,7 @@ def test_run_dssp(savefile, tmpdir):
assert len(foundfile) == 1
foundfile = foundfile[0]

with (open(foundfile, encoding="utf-8") as genfile,
open(str(DSSP_OUTPUT), encoding="utf-8") as reffile):
with open(foundfile, encoding="utf-8") as genfile, open(str(DSSP_OUTPUT), encoding="utf-8") as reffile:
# DSSP 3 is outputs mostly the same thing as DSSP2, though there
# are some differences in non significant whitespaces, and an extra
# field header. We need to normalize these differences to be able
Expand Down

0 comments on commit 345918b

Please sign in to comment.