Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 17, 2021
1 parent 978eab1 commit 0f6318a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_pytypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,7 @@ def test_issue2361():
assert m.issue2361_str_implicit_copy_none() == "None"
with pytest.raises(TypeError) as excinfo:
assert m.issue2361_dict_implicit_copy_none()
assert ("NoneType" in str(excinfo.value) and
"iterable" in str(excinfo.value))
assert "NoneType" in str(excinfo.value) and "iterable" in str(excinfo.value)


@pytest.mark.parametrize(
Expand Down

0 comments on commit 0f6318a

Please sign in to comment.