| def test_fail():
|
| # The failing assertion contains a non‑ASCII smiley.
|
| > assert "☺" == "x"
|
| E AssertionError: assert '☺' == 'x'
|
| E
|
| E - x
|
| E + ☺
|
|
|
| test_mod.py:6: AssertionError
|
| def test_fail():
|
| # The failing assertion contains a non‑ASCII smiley.
|
| > assert "☺" == "x"
|
| E AssertionError: assert '☺' == 'x'
|
| E
|
| E - x
|
| E + ☺
|
|
|
| test_mod.py:6: AssertionError
|