Skip to content

Commit

Permalink
Sort test_project::test_search results to fix failures
Browse files Browse the repository at this point in the history
Fixes #1542
  • Loading branch information
mgorny authored and davidhalter committed Apr 15, 2020
1 parent e7feeef commit 7ff76bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_api/test_project.py
Expand Up @@ -135,7 +135,7 @@ def test_search(string, full_names, kwargs, skip_pre_python36):
defs = project.complete_search(string, **kwargs)
else:
defs = project.search(string, **kwargs)
assert [('stub:' if d.is_stub() else '') + d.full_name for d in defs] == full_names
assert sorted([('stub:' if d.is_stub() else '') + d.full_name for d in defs]) == full_names


@pytest.mark.parametrize(
Expand Down

0 comments on commit 7ff76bb

Please sign in to comment.