Skip to content

Commit

Permalink
Fix test_pytypes.py::test_issue2361 failure on PyPy3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jbms committed Sep 17, 2021
1 parent 898d303 commit db7079c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_pytypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ 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' object is not iterable" in str(excinfo.value)
assert "NoneType" in str(excinfo.value)
assert "iterable" in str(excinfo.value)


@pytest.mark.parametrize(
Expand Down

0 comments on commit db7079c

Please sign in to comment.