Created test to check weakref with QWidget and pytest.ini to run tests when developing pytest-qt.