Skip to content

Conversation

@fumedev
Copy link

@fumedev fumedev bot commented Mar 24, 2024

COMPLETED

  • Reverted the _is_in_confcutdir method change in src/_pytest/config/__init__.py to its previous behavior to address the issue with pytest 7.1.0 not recognizing conftest.py files correctly.
  • Verified the fix by successfully running the full pytest suite using the command python -m pytest in the pytest project directory.
  • Created a pull request in the pytest repository titled "Revert "_is_in_confcutdir" logic to previous state to fix confest.py handling", explaining the issue caused by the previous change and how reverting it resolves the issue based on local testing and community discussion. Requested further verification through the project's CI system and expressed willingness to address any additional issues.
  • Updated the test_unicode_in_longrepr test function in testing/test_runner.py to include a non-ascii character in the longrepr, ran the modified pytest test suite, and confirmed the test passed.
  • Validated the changes by running the pytest test suite in the project directory, ensuring all tests ran successfully and no failures were reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant