| ============================= test session starts ==============================
|
| platform linux -- Python 3.9.20, pytest-4.6.6.dev9+g8aba863a6, py-1.11.0, pluggy-0.13.1 -- /opt/miniconda3/envs/testbed/bin/python
|
| cachedir: .pytest_cache
|
| rootdir: /tmp
|
| collecting ... collected 2 items
|
|
|
| ../tmp/test_fail.py::test_fail FAILED [ 50%]
|
| ../tmp/test_unicode_fail.py::test_unicode FAILED [100%]
|
|
|
| =================================== FAILURES ===================================
|
| __________________________________ test_fail ___________________________________
|
|
|
| def test_fail():
|
| > assert 0
|
| E assert 0
|
|
|
| /tmp/test_fail.py:2: AssertionError
|
| _________________________________ test_unicode _________________________________
|
|
|
| def test_unicode():
|
| > assert '☺' == 1
|
| E AssertionError: assert '☺' == 1
|
| E -'☺'
|
| E +1
|
|
|
| /tmp/test_unicode_fail.py:3: AssertionError
|
| =========================== 2 failed in 0.02 seconds ===========================
|