Skip to content

Conversation

@MLopez-Ibanez
Copy link
Contributor

  • Include documentation when adding new features.
  • Include new tests or update existing tests when applicable.
  • Allow maintainers to push and squash when merging my commits. Please uncheck this if you prefer to squash the commits yourself.

Change is trivial or a small documentation fix (e.g., a typo or reword of a small section).

The conftest.py example does not work without the import pytest, which leads to the following error:

py310: commands[0]> pytest --doctest-modules --doctest-continue-on-failure --pyargs src
ImportError while loading conftest '[...]/mooplot/python/src/conftest.py'.
src/conftest.py:4: in <module>
    @pytest.fixture(autouse=True)
E   NameError: name 'pytest' is not defined

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nicoddemus nicoddemus merged commit cc588d1 into pytest-dev:main Apr 3, 2024
@MLopez-Ibanez MLopez-Ibanez deleted the patch-1 branch April 3, 2024 17:30
flying-sheep pushed a commit to flying-sheep/pytest that referenced this pull request Apr 9, 2024
hrfuller pushed a commit to hrfuller/pytest that referenced this pull request Apr 17, 2024
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.

2 participants