Skip to content

Remove unreachable code from config._prepareconfig#6001

Merged
blueyed merged 1 commit intopytest-dev:masterfrom
phloose:cleanup-prepareconfig
Oct 18, 2019
Merged

Remove unreachable code from config._prepareconfig#6001
blueyed merged 1 commit intopytest-dev:masterfrom
phloose:cleanup-prepareconfig

Conversation

@phloose
Copy link

@phloose phloose commented Oct 18, 2019

Related to #4445 (comment) and #4445 (comment). The code that could trigger the execution of _issue_warning_captured was removed with a7e4016.

  • Target the master branch for bug fixes, documentation updates and trivial changes.
  • Target the features branch for new features, improvements, and removals/deprecations.
  • Include documentation when adding new features.
  • Include new tests or update existing tests when applicable.

Unless your change is trivial or a small documentation fix (e.g., a typo or reword of a small section) please:

  • Create a new changelog file in the changelog folder, with a name like <ISSUE NUMBER>.<TYPE>.rst. See changelog/README.rst for details.
  • Add yourself to AUTHORS in alphabetical order;

The code that could trigger the execution of the removed lines was
removed with a7e4016.
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 for this!

@blueyed blueyed merged commit 5e7b8d8 into pytest-dev:master Oct 18, 2019
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.

3 participants