Replace dependency python-pytest7 with standard pytest package
The tests are not properly isolated when running pytest v8.x, specifically calls to: thefuck/utils.py:get_all_executables(). Work around this by running the tests in tests/test_utils.py separately.