Kale Kundert
af42e7154a
Prevent approx from being used without a comparison ( #9061 )
...
Some of the top search-engine hits for pytest.approx use the function without actually comparing it to anything.
This PR will cause these tests to fail by implementing approx.__bool__() to raise an AssertionError that briefly explains how to correctly use approx.
2021-08-30 18:19:31 +00:00
Bruno Oliveira
771c4b9313
Merge pull request #9063 from nicoddemus/cherry-pick-release
...
Merge pull request #9057 from pytest-dev/release-6.2.5
2021-08-30 15:13:58 -03:00
Bruno Oliveira
ea5ff44ef3
Merge pull request #9057 from pytest-dev/release-6.2.5
...
(cherry picked from commit 16664a1b72c668161553b64e741492206af441bc)
2021-08-30 14:44:49 -03:00
Bruno Oliveira
014fa61e0d
Merge pull request #9053 from nicoddemus/change-8494-to-trivial
2021-08-29 10:52:01 -03:00
Bruno Oliveira
d023e6344a
Merge pull request #9055 from pytest-dev/update-plugin-list/patch-398783521
...
[automated] Update plugin list
2021-08-29 00:35:42 -03:00
pytest bot
544ecce677
[automated] Update plugin list
2021-08-29 00:09:53 +00:00
Bruno Oliveira
14709f33af
As discussed in Discord, move 3.10 changelog to trivial
...
This was backported to `6.2.x`, but we agreed this should
actually a trivial change and go into `6.2.5`, instead of a new `6.3.0`.
2021-08-28 11:59:53 -03:00
Bruno Oliveira
3987835213
Merge pull request #9049 from nicoddemus/prerelease-option
...
Fix prepare-release-pr invocation with empty --prerelease argument
2021-08-27 14:47:58 -03:00
Bruno Oliveira
675f8da3a1
Fix prepare-release-pr invocation with empty --prerelease argument
2021-08-27 14:46:28 -03:00
Bruno Oliveira
3c0510894b
Merge pull request #9048 from nicoddemus/prerelease-option
...
'prerelease' input is not required in prepare-release-pr workflow
2021-08-27 14:40:11 -03:00
Bruno Oliveira
9501e54852
'prerelease' input is not required in prepare-release-pr workflow
...
The default is the correct value when generating a normal release.
2021-08-27 14:26:30 -03:00
Bruno Oliveira
b6aba1d58d
Merge pull request #9047 from nicoddemus/changelog-9040
...
Add changelog for #9040 (pluggy 1.0)
2021-08-27 14:23:49 -03:00
Bruno Oliveira
44ba2fa372
Add changelog for #9040 (pluggy 1.0)
2021-08-27 14:09:21 -03:00
Bruno Oliveira
41dc9bbc44
Merge pull request #9040 from nicoddemus/bump-pluggy
2021-08-26 10:14:27 -03:00
Bruno Oliveira
109bc2649d
Adapt docs references to use pluggy 1.0
...
Also use the intersphinx reference instead of the class directly.
2021-08-26 09:52:05 -03:00
Bruno Oliveira
fbba504cd5
Allow pluggy >=1.0
...
Now that pluggy 1.0 has been released, we can allow pluggy 1.0 with new pytest versions.
2021-08-26 09:26:51 -03:00
Bruno Oliveira
1a2306cec6
Merge pull request #9033 from kulikjak/fix-cwd-removal-Solaris
...
Fix cwd removal on Solaris
2021-08-24 10:39:37 -03:00
Bruno Oliveira
78d21dc836
Merge pull request #9034 from williamjamir/williamjamir-patch-1
...
Fix typo in fixture.rst
2021-08-24 10:38:50 -03:00
William Jamir Silva
696bf96c83
Fix typo in fixture.rst
2021-08-24 09:32:40 -03:00
Bruno Oliveira
59189ebeb5
Merge pull request #9029 from pytest-dev/update-plugin-list/patch-83b609d7f
...
[automated] Update plugin list
2021-08-24 08:04:29 -03:00
Jakub Kulík
e146aaa2e2
Fix cwd removal on Solaris
2021-08-24 12:11:06 +02:00
Anthony Sottile
ebe5e451d1
Merge pull request #9031 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-08-23 15:27:47 -04:00
pre-commit-ci[bot]
e8aa395346
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.23.3 → v2.24.0](https://github.com/asottile/pyupgrade/compare/v2.23.3...v2.24.0 )
2021-08-23 18:58:43 +00:00
pytest bot
1b130d4404
[automated] Update plugin list
2021-08-22 00:09:13 +00:00
Bruno Oliveira
83b609d7f7
Merge pull request #9028 from Exifers/patch-1
...
Fix typo in documentation
2021-08-21 11:49:11 -03:00
Emmanuel Meric de Bellefon
ec2099e057
Update index.rst
2021-08-21 11:11:37 +02:00
Florian Bruhin
c9870480e0
doc: Update trainings ( #9022 )
2021-08-19 18:40:19 +02:00
Bruno Oliveira
16077f2a65
Merge pull request #9017 from hugovk/update-deprecated-unittest-aliases
2021-08-18 08:11:50 -03:00
Hugo van Kemenade
5ec89fd6e5
Docs: refer to non-deprecated unittest alias
2021-08-18 12:43:59 +03:00
Anthony Sottile
720b91df2e
Merge pull request #8995 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-08-17 14:36:42 -04:00
Bruno Oliveira
0f79fc6dbb
Merge pull request #8752 from azmeuk/issue-7132-syntax-highlight-themes
2021-08-15 09:06:41 -03:00
Bruno Oliveira
36ed2f7d90
Merge pull request #9006 from pytest-dev/update-plugin-list/patch-243972941
...
[automated] Update plugin list
2021-08-15 09:04:32 -03:00
pytest bot
1cbb67f71b
[automated] Update plugin list
2021-08-15 00:09:52 +00:00
Éloi Rivard
7770dacb8d
pygments themes are customizable
2021-08-13 19:15:01 +02:00
pre-commit-ci[bot]
108f1d7e5e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.23.1 → v2.23.3](https://github.com/asottile/pyupgrade/compare/v2.23.1...v2.23.3 )
2021-08-09 18:53:50 +00:00
Terje Runde
2439729413
logging: Make it possible to add cli colors to custom log levels
...
Closes #8803
PR #8804
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Co-authored-by: Terje Runde <terje.runde@flir.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-08-09 13:48:47 +00:00
Ran Benita
df033f3ab1
Merge pull request #8987 from bluetech/k-backslash
...
mark/expression: allow backslash characters in identifiers
2021-08-08 17:15:53 +03:00
Ran Benita
25c65616f4
mark/expression: allow backslash characters in identifiers
...
Fixes #8983 .
2021-08-08 11:56:17 +03:00
Bruno Oliveira
a446ee81fd
Merge pull request #8985 from pytest-dev/update-plugin-list/patch-bacc8498e
...
[automated] Update plugin list
2021-08-08 01:43:27 -03:00
pytest bot
4d2944e1d4
[automated] Update plugin list
2021-08-08 00:10:10 +00:00
Simon K
bacc8498e9
`pytest_assertion_pass` is no longer considered `experimental` ( #8967 )
...
* `pytest_assertion_pass` is no longer considered `experimental`
* adding changelog
2021-08-03 14:31:18 +01:00
Bruno Oliveira
599e3dfdb6
Merge pull request #8970 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-08-02 21:06:34 -03:00
pre-commit-ci[bot]
b33c81b57f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.23.0 → v2.23.1](https://github.com/asottile/pyupgrade/compare/v2.23.0...v2.23.1 )
2021-08-02 18:53:11 +00:00
Bruno Oliveira
bacb8a4a56
Merge pull request #8968 from pytest-dev/dependabot/pip/testing/plugins_integration/twisted-21.7.0
2021-08-02 10:19:40 -03:00
dependabot[bot]
c22bf3ff3e
build(deps): bump twisted in /testing/plugins_integration
...
Bumps [twisted](https://github.com/twisted/twisted ) from 21.2.0 to 21.7.0.
- [Release notes](https://github.com/twisted/twisted/releases )
- [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst )
- [Commits](https://github.com/twisted/twisted/compare/twisted-21.2.0...twisted-21.7.0 )
---
updated-dependencies:
- dependency-name: twisted
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 03:01:59 +00:00
Bruno Oliveira
e7916c4f4e
[automated] Update plugin list ( #8965 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2021-08-01 15:06:40 -03:00
Bruno Oliveira
a83b359cf0
Refactor internal scope handling by introducing Scope enum
...
PR #8913
2021-08-01 06:11:56 -03:00
pytest bot
fed18fb76d
[automated] Update plugin list
2021-08-01 00:10:10 +00:00
Simon K
ef5d81ad5c
add `assert_outcomes(warnings=)` functionality to `RunResult`
...
* expose `warnings=` to pytester `assert_outcomes()`
* fix test fallout from adding warnings= to assert_outcomes()
* #closes 8593 - Improve test and add a `changelog` entry for the change
2021-07-31 15:25:10 +01:00
Simon K
c27db3bd8e
Deprecate pytest_cmdline_preparse
...
Close #8592
PR #8956
2021-07-31 10:53:43 -03:00