Fix a typo in unittest_inference and make it work both when invoked directly and when invoked from pytest.
Fix a typo in unittest_inference and make it work both when invoked directly and when invoked from pytest.

PyCQA/astroid