Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jandom committed Feb 27, 2023
1 parent 7ea7e6f commit 5b6e802
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testsuite/MDAnalysisTests/utils/test_selections.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,9 @@ def _assert_selectionstring(self, namedfile):
assert_array_equal(indices, self.ref_indices,
err_msg="SPT indices were not written correctly")


class TestSelections():
@patch.object(selections, '_SELECTION_WRITERS', {'FOO': "BAR"})
@patch.object(selections, '_SELECTION_WRITERS', {"FOO": "BAR"})
def test_get_writer_valid(self):
writer = selections.get_writer(None, "FOO")
assert writer == "BAR"

0 comments on commit 5b6e802

Please sign in to comment.