diff --git a/doc/en/example/xfail_demo.py b/doc/en/example/xfail_demo.py index 79752680a..c6e147e4d 100644 --- a/doc/en/example/xfail_demo.py +++ b/doc/en/example/xfail_demo.py @@ -27,4 +27,4 @@ def test_hello6(): @xfail(raises=IndexError) def test_hello7() x = [] - assert x[1] == 1 + x[1] = 1