We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d504a7 commit dd6322dCopy full SHA for dd6322d
1 file changed
tests/test_pytypes.py
@@ -467,7 +467,8 @@ def test_issue2361():
467
assert m.issue2361_str_implicit_copy_none() == "None"
468
with pytest.raises(TypeError) as excinfo:
469
assert m.issue2361_dict_implicit_copy_none()
470
- assert "'NoneType' object is not iterable" in str(excinfo.value)
+ assert "NoneType" in str(excinfo.value)
471
+ assert "iterable" in str(excinfo.value)
472
473
474
@pytest.mark.parametrize(
0 commit comments