Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Replace --strict command-line option with --strict-markers #84

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

henry0312
Copy link
Owner

https://docs.pytest.org/en/latest/deprecations.html#the-strict-command-line-option

$ pytest -s tests
../../../../../../../../../Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195
  /Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead.
    self.issue_config_time_warning(

https://docs.pytest.org/en/latest/deprecations.html#the-strict-command-line-option
```
$ pytest -s tests
../../../../../../../../../Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195
  /Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead.
    self.issue_config_time_warning(
```
@henry0312 henry0312 merged commit cc78c65 into master Mar 16, 2022
@henry0312 henry0312 deleted the fix_strict_markers branch March 16, 2022 03:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant