-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Merge master into features #6537
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
Merged
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
Somehow in Python 3.5 on Windows this test fails with: File "c:\hostedtoolcache\windows\python\3.5.4\x64\Lib\multiprocessing\connection.py", line 302, in _recv_bytes overlapped=True) OSError: [WinError 6] The handle is invalid This only happens in this platform and Python version, decided to use a dummy traceback as originally done in pytest-dev#6412. (cherry picked from commit b9c136b)
[master] Use a dummy RemoteTraceback for test in Python 3.5 Windows
…fixtures tests: cleanup unused fixtures
doc: revisit section about rootdir
GitHub actions already should deploy. This is a stop gap while we figure out why coverage dropped when removing Travis builds in pytest-dev#6470
Drop deploy from Travis in favor of GitHub actions
pytester: typing for `spawn`/`spawn_pytest`
scripts/release.py: lint: fix F999
tests: test_xfail_handling: use sys.dont_write_bytecode
Fix test_config: wrong assertions, lint, unused fixtures
Co-Authored-By: Hugo van Kemenade <[email protected]>
typing: Node.reportinfo: might return py.path.local via fspath
… the stack" This reverts commit 9918093.
tests: fix test_crash_on_closing_tmpfile_py27
This helps with regard to slowness until pytest-dev#6470 is resolved.
test_terminal: improve color handling
ci: Travis: remove non-coverage jobs
typing: minor improvements
typing: fix some "incompatible types in assignment" with py
Fix type errors after adding types to the `py` dependency
Also replace one direct call to `compile` with this flag with the equivalent wrapper `ast.parse`. This function can have a more precise type.
These are more "dirty" than the previous batch (that's why they were left out). The trouble is that `compile` can return either a code object or an AST depending on a flag, so we need to add an overload to make the common case Union free. But it's still worthwhile.
The expected_warning is optional.
Some type annotation & check_untyped_defs fixes
tox: add mypy-diff testenv
…est-dev#6496) Revert "fixtures register finalizers with all fixtures before them in the stack"
Preparing release version 5.3.4
This reverts commit 930a158. Regression test from Bruno Oliveira.
…egression Fix internal assert failure regression in 5.3.4
doc: fix Code.path: might return str
Following jobs get aborted on failure. Ref: pytest-dev#6530
ci: GHA: remove unnecessary check for `success()`
--cache-clear: add test for keeping non-supporting files
This allows for `tox -e doctesting-coverage`, which would otherwise not use the "doctesting" testenv.
tox: move doctesting into main testenv
Conflicts: * src/_pytest/_code/code.py * src/_pytest/main.py * testing/python/metafunc.py * testing/test_parseopt.py * testing/test_pytester.py
blueyed
approved these changes
Jan 22, 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.
Conflicts: