============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-runner/pytest-0/test_deprecated_raises_exec_failure0
collected 1 item

f.py F                                                                   [100%]

=================================== FAILURES ===================================
_____________________________________ test _____________________________________

    def test():
>       pytest.raises(ValueError, "int(None)")
E       TypeError: 'int(None)' object (type: <class 'str'>) must be callable

f.py:3: TypeError
=========================== short test summary info ============================
FAILED f.py::test - TypeError: 'int(None)' object (type: <class 'str'>) must ...
============================== 1 failed in 0.01s ===============================