Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay committed Jun 1, 2022
1 parent 30c3f35 commit c739404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testsuite/MDAnalysisTests/core/test_atomselections.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,8 @@ def test_passing_max_matches_to_converter(self, u2):
sel = u2.select_atoms("smarts C", smarts_kwargs=dict(maxMatches=2))
sel2 = u2.select_atoms(
"smarts C", smarts_kwargs=dict(maxMatches=1000))
assert sel.n_atoms == sel2.n_atoms == 2
assert sel.n_atoms == 2
assert sel2.n_atoms == 3

sel3 = u2.select_atoms("smarts c")
assert sel3.n_atoms == 4
Expand Down

0 comments on commit c739404

Please sign in to comment.