-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Merge master into features #6563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
blueyed
merged 41 commits into
pytest-dev:features
from
blueyed:merge-master-into-features
Jan 24, 2020
Merged
Merge master into features #6563
blueyed
merged 41 commits into
pytest-dev:features
from
blueyed:merge-master-into-features
Jan 24, 2020
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pulled out of pytest-dev#6491.
typing: Session.__init__
This should probably get transferred into a `pytest.fail` really, but tests/documents the current behavior.
…ency"" Without changes to test_itemreport_reportinfo. This reverts commit fb99b5c. Conflicts: testing/test_nose.py
`-rv` is not a recognized reportchar. Probably `-v` was meant, but is not necessary to check that there are no warnings. Followup to 2018cf1 (pytest-dev#3360).
tests: fix/harden test_record_property
Warnings are enabled by default, which is tested by `test_getreportopt`.
tests: remove unnecessary `-rw` option
It is not included with docs, and `example/costlysetup/sub_a/test_quick.py::test_quick` sleeps for 5s, slowing down `doctesting` unnecessarily.
typing: fix/adjust _code.source.getfslineno
doc: remove costlysetup example
tests: improve test for `nose.raises`
This also imports `TerminalWriter` explicitly via `_pytest._io`, allowing for easier extending / replacing it.
This would help with debugging missing coverage when removing Travis jobs.
config: typing for create_terminal_writer, re-export TerminalWriter
ci: codecov: add flag for GHA
This is considered to be best practice, and should be used in docs therefore.
It helps to know upfront that e.g. linting failed, and makes finding the error easier.
This never worked as expected (since a912d37), and only py38-windows triggered the mocked `os.getcwd` unintentionally, via `inspect`.
doc: minor fixes for the release process
ci: GHA: separate jobs for linting, docs, doctesting
This is handled by GHA already, and not affected/required for coverage.
…erage.sh ci: GHA: use scripts/report-coverage.sh
ci: Travis: removing linting,docs,doctesting
This is covered by GitHub Actions now.
ci: GHA: codecov: set CODECOV_NAME, OS in flags
This is a regression test for part of pytest-dev#6492, testing one of the fixes in pytest-dev#6551.
ci: remove Azure config/scripts
…ring tests: add test_fixture_arg_ordering
doc/en/fixture.rst: chdir back to previous directory
…ck_with_invalid_cwd tests: fix test_repr_traceback_with_invalid_cwd
Conflicts: src/_pytest/_code/code.py src/_pytest/main.py
nicoddemus
approved these changes
Jan 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.