c72d202317 
								
							 
						 
						
							
							
								
								build(deps): Bump pytest-asyncio in /testing/plugins_integration ( #10212 )  
							
							... 
							
							
							
							Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 
							
						 
						
							2022-08-12 20:56:51 -03:00  
				
					
						
							
							
								 
						
							
								cc0092b9d8 
								
							 
						 
						
							
							
								
								JUnit XML: Escape error messages in setup/teardown ( #10190 )  
							
							... 
							
							
							
							Co-authored-by: Holesch, Simon (BSH) <simon.holesch@bshg.com> 
							
						 
						
							2022-08-12 11:11:03 +02:00  
				
					
						
							
							
								 
						
							
								433efaeaa9 
								
							 
						 
						
							
							
								
								build(deps): Bump django in /testing/plugins_integration ( #10195 )  
							
							... 
							
							
							
							Bumps [django](https://github.com/django/django ) from 4.0.6 to 4.1.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/4.0.6...4.1 )
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 
							
						 
						
							2022-08-12 11:09:06 +02:00  
				
					
						
							
							
								 
						
							
								1c31a7e659 
								
							 
						 
						
							
							
								
								Added file-like methods to DontReadFromInput ( #10173 )  
							
							... 
							
							
							
							Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Fixes  #10150  
							
						 
						
							2022-07-31 13:44:02 +00:00  
				
					
						
							
							
								 
						
							
								09b2c95320 
								
							 
						 
						
							
							
								
								Adjust tests for a last minute Python 3.11 change in the traceback format  
							
							... 
							
							
							
							See https://github.com/python/cpython/issues/93883 
and https://github.com/python/cpython/pull/93994 
Fixes https://github.com/pytest-dev/pytest/issues/10131  
							
						 
						
							2022-07-13 17:14:37 +02:00  
				
					
						
							
							
								 
						
							
								f6dc71c8de 
								
							 
						 
						
							
							
								
								Merge pull request  #10120  from pytest-dev/dependabot/pip/testing/plugins_integration/pytest-mock-3.8.2  
							
							... 
							
							
							
							build(deps): Bump pytest-mock from 3.8.1 to 3.8.2 in /testing/plugins_integration 
							
						 
						
							2022-07-11 08:06:23 -03:00  
				
					
						
							
							
								 
						
							
								8c60fa1ef9 
								
							 
						 
						
							
							
								
								Merge pull request  #10121  from pytest-dev/dependabot/pip/testing/plugins_integration/pytest-sugar-0.9.5  
							
							... 
							
							
							
							build(deps): Bump pytest-sugar from 0.9.4 to 0.9.5 in /testing/plugins_integration 
							
						 
						
							2022-07-11 08:06:09 -03:00  
				
					
						
							
							
								 
						
							
								9c5b6fbab2 
								
							 
						 
						
							
							
								
								build(deps): Bump pytest-bdd in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [pytest-bdd](https://github.com/pytest-dev/pytest-bdd ) from 5.0.0 to 6.0.1.
- [Release notes](https://github.com/pytest-dev/pytest-bdd/releases )
- [Changelog](https://github.com/pytest-dev/pytest-bdd/blob/master/CHANGES.rst )
- [Commits](https://github.com/pytest-dev/pytest-bdd/compare/5.0.0...6.0.1 )
---
updated-dependencies:
- dependency-name: pytest-bdd
  dependency-type: direct:production
  update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-07-11 03:02:51 +00:00  
				
					
						
							
							
								 
						
							
								b1948c60ac 
								
							 
						 
						
							
							
								
								build(deps): Bump pytest-sugar in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [pytest-sugar](https://github.com/Teemu/pytest-sugar ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/Teemu/pytest-sugar/releases )
- [Changelog](https://github.com/Teemu/pytest-sugar/blob/master/CHANGES.rst )
- [Commits](https://github.com/Teemu/pytest-sugar/commits )
---
updated-dependencies:
- dependency-name: pytest-sugar
  dependency-type: direct:production
  update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-07-11 03:02:49 +00:00  
				
					
						
							
							
								 
						
							
								da68c9d5bc 
								
							 
						 
						
							
							
								
								build(deps): Bump pytest-mock in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.8.1...v3.8.2 )
---
updated-dependencies:
- dependency-name: pytest-mock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-07-11 03:02:47 +00:00  
				
					
						
							
							
								 
						
							
								4cd0322ca1 
								
							 
						 
						
							
							
								
								replace atomicwrites with os.replace  
							
							
							
						 
						
							2022-07-08 18:36:10 -07:00  
				
					
						
							
							
								 
						
							
								966d4fb3e4 
								
							 
						 
						
							
							
								
								Merge pull request  #10051  from EmptyRabbit/dev_main  
							
							... 
							
							
							
							Fix stage caplog records not clear 
							
						 
						
							2022-07-08 07:46:10 +02:00  
				
					
						
							
							
								 
						
							
								6d7973942f 
								
							 
						 
						
							
							
								
								build(deps): Bump django in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [django](https://github.com/django/django ) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/4.0.5...4.0.6 )
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-07-05 22:37:17 +00:00  
				
					
						
							
							
								 
						
							
								7dcabc1f49 
								
							 
						 
						
							
							
								
								Merge pull request  #10088  from alicederyn/doctest.importmode  
							
							... 
							
							
							
							Pass importmode to import_path in DoctestModule 
							
						 
						
							2022-06-29 17:57:37 -04:00  
				
					
						
							
							
								 
						
							
								1b47de7d7f 
								
							 
						 
						
							
							
								
								update does_not_raise docs now that pytest is 3.7+ only  
							
							
							
						 
						
							2022-06-29 13:13:15 -04:00  
				
					
						
							
							
								 
						
							
								c34eaaaa1c 
								
							 
						 
						
							
							
								
								Pass importmode to import_path in DoctestModule  
							
							... 
							
							
							
							This allows doctest to be used with namespace modules 
							
						 
						
							2022-06-29 14:38:59 +01:00  
				
					
						
							
							
								 
						
							
								bd642fac70 
								
							 
						 
						
							
							
								
								Do not call tearDown for skipped unittest.TestCases with --pdb  
							
							... 
							
							
							
							Fix  #10060  
						
							2022-06-27 10:33:37 -03:00  
				
					
						
							
							
								 
						
							
								0b1e9ba270 
								
							 
						 
						
							
							
								
								build(deps): Bump pytest-mock in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.7.0...v3.8.1 )
---
updated-dependencies:
- dependency-name: pytest-mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-06-27 03:02:47 +00:00  
				
					
						
							
							
								 
						
							
								f29f79e39f 
								
							 
						 
						
							
							
								
								Use records.clear() in LogCaptureHandler when caplog.clear()  
							
							
							
						 
						
							2022-06-24 23:04:04 +08:00  
				
					
						
							
							
								 
						
							
								c7e784f95d 
								
							 
						 
						
							
							
								
								Fix stage caplog records not clear  
							
							... 
							
							
							
							Closes  #9877  
						
							2022-06-24 23:03:37 +08:00  
				
					
						
							
							
								 
						
							
								052da7128b 
								
							 
						 
						
							
							
								
								Replace deprecated logging.warn with .warning  
							
							
							
						 
						
							2022-06-21 22:53:28 +03:00  
				
					
						
							
							
								 
						
							
								fab696dcd1 
								
							 
						 
						
							
							
								
								Add support for .pytest.ini as an alternative to pytest.ini  
							
							... 
							
							
							
							Closes  #9987  
						
							2022-06-14 08:24:35 -03:00  
				
					
						
							
							
								 
						
							
								d6b837e2d3 
								
							 
						 
						
							
							
								
								Mark pdb+expect tests as xfail for now  
							
							... 
							
							
							
							Related to #10042  
							
						 
						
							2022-06-14 07:01:34 -03:00  
				
					
						
							
							
								 
						
							
								96412d19ab 
								
							 
						 
						
							
							
								
								Fix representation of tuples in approx  
							
							... 
							
							
							
							Closes  #9917  
						
							2022-06-14 06:54:32 -03:00  
				
					
						
							
							
								 
						
							
								083285948f 
								
							 
						 
						
							
							
								
								build(deps): Bump django from 4.0.4 to 4.0.5 in /testing/plugins_integration ( #10021 )  
							
							... 
							
							
							
							Bumps [django](https://github.com/django/django ) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/4.0.4...4.0.5 )
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 
							
						 
						
							2022-06-07 08:01:15 -03:00  
				
					
						
							
							
								 
						
							
								e54c6a1362 
								
							 
						 
						
							
							
								
								Document the --code-highlight default ( #9883 )  
							
							... 
							
							
							
							Also normalized all help text using the patterns:
* `One sentence help text`
* `First sentence of help. Second sentence of help.` 
							
						 
						
							2022-05-31 16:32:51 -03:00  
				
					
						
							
							
								 
						
							
								c988e49af6 
								
							 
						 
						
							
							
								
								Warn when test functions return other than None ( #9956 )  
							
							... 
							
							
							
							Closes  #7337  
						
							2022-05-25 09:48:02 -03:00  
				
					
						
							
							
								 
						
							
								8ac6dce2c7 
								
							 
						 
						
							
							
								
								Add shell-style wildcard support to 'testpaths' ( #9897 )  
							
							... 
							
							
							
							This is especially useful for large repositories (e.g. monorepos) that
use a hierarchical file system organization for nested test paths.
    src/*/tests
The implementation uses the standard `glob` module to perform wildcard
expansion in Config.parse().
The related logic that determines whether or not to include 'testpaths'
in the terminal header was previously relying on a weak heuristic: if
Config.args matched 'testpaths', then its value was printed. That
generally worked, but it could also print when the user explicitly used
the same arguments on the command-line as listed in 'testpaths'. Not a
big deal, but it shows that the check was logically incorrect.
Now that 'testpaths' can contain wildcards, it's no longer possible to
perform this simple comparison, so this change also introduces a public
Config.ArgSource enum and Config.args_source attribute that explicitly
names the "source" of the arguments: the command line, the invocation
directory, or the 'testdata' configuration value. 
							
						 
						
							2022-05-24 10:20:51 +02:00  
				
					
						
							
							
								 
						
							
								5d20e28538 
								
							 
						 
						
							
							
								
								build(deps): Bump anyio[curio,trio] in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [anyio[curio,trio]](https://github.com/agronholm/anyio ) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/agronholm/anyio/releases )
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst )
- [Commits](https://github.com/agronholm/anyio/compare/3.5.0...3.6.1 )
---
updated-dependencies:
- dependency-name: anyio[curio,trio]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-05-16 03:02:09 +00:00  
				
					
						
							
							
								 
						
							
								56c266640e 
								
							 
						 
						
							
							
								
								Do not truncate crash messages in short test summary on CI ( #9933 )  
							
							... 
							
							
							
							Closes  #9920  
						
							2022-05-13 08:15:52 -03:00  
				
					
						
							
							
								 
						
							
								69fb79e741 
								
							 
						 
						
							
							
								
								Add colors to summary ( #9875 )  
							
							... 
							
							
							
							Fix  #9873  
						
							2022-05-12 09:55:40 -03:00  
				
					
						
							
							
								 
						
							
								ccdee08ddd 
								
							 
						 
						
							
							
								
								Merge pull request  #9911  from bkeyvani/fix-issue-8646  
							
							
							
						 
						
							2022-05-10 23:53:40 -07:00  
				
					
						
							
							
								 
						
							
								29462b1277 
								
							 
						 
						
							
							
								
								type-ignore in error-message test  
							
							
							
						 
						
							2022-05-10 23:24:13 -07:00  
				
					
						
							
							
								 
						
							
								31a9c5c667 
								
							 
						 
						
							
							
								
								improve `pytest.raises` - cont'd  
							
							... 
							
							
							
							a few more iterations on error message and related tests. 
							
						 
						
							2022-05-09 21:15:02 -04:00  
				
					
						
							
							
								 
						
							
								644a81af37 
								
							 
						 
						
							
							
								
								testing: fix Path.rglob("") failures in Python 3.11b1  
							
							... 
							
							
							
							Fix  #9930 . 
						
							2022-05-09 12:52:57 +03:00  
				
					
						
							
							
								 
						
							
								3444d35c54 
								
							 
						 
						
							
							
								
								improve `pytest.raises`  
							
							
							
						 
						
							2022-04-30 17:56:36 -06:00  
				
					
						
							
							
								 
						
							
								7df405747a 
								
							 
						 
						
							
							
								
								Merge branch 'pytest-dev:main' into patch-1  
							
							
							
						 
						
							2022-04-22 12:11:03 +02:00  
				
					
						
							
							
								 
						
							
								1ea7081752 
								
							 
						 
						
							
							
								
								build(deps): Bump pytest-asyncio in /testing/plugins_integration ( #9824 )  
							
							... 
							
							
							
							Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) from 0.18.2 to 0.18.3.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.2...v0.18.3 )
---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 
							
						 
						
							2022-04-20 13:08:56 -03:00  
				
					
						
							
							
								 
						
							
								045dbc895d 
								
							 
						 
						
							
							
								
								Merge pull request  #9866  from pytest-dev/dependabot/pip/testing/plugins_integration/twisted-22.4.0  
							
							... 
							
							
							
							build(deps): Bump twisted from 22.2.0 to 22.4.0 in /testing/plugins_integration 
							
						 
						
							2022-04-19 09:38:10 -03:00  
				
					
						
							
							
								 
						
							
								86b62067b7 
								
							 
						 
						
							
							
								
								build(deps): Bump twisted in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [twisted](https://github.com/twisted/twisted ) from 22.2.0 to 22.4.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-22.2.0...twisted-22.4.0 )
---
updated-dependencies:
- dependency-name: twisted
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-04-18 03:01:59 +00:00  
				
					
						
							
							
								 
						
							
								ace71037ab 
								
							 
						 
						
							
							
								
								build(deps): Bump django in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [django](https://github.com/django/django ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/4.0.3...4.0.4 )
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-04-18 03:01:56 +00:00  
				
					
						
							
							
								 
						
							
								8fa775bcee 
								
							 
						 
						
							
							
								
								fix comparison of dataclasses with `InitVar`  
							
							
							
						 
						
							2022-04-08 19:51:05 -04:00  
				
					
						
							
							
								 
						
							
								141b301d3d 
								
							 
						 
						
							
							
								
								Fix more tests  
							
							
							
						 
						
							2022-03-29 12:34:15 +02:00  
				
					
						
							
							
								 
						
							
								31595e8733 
								
							 
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							2022-03-29 12:33:13 +02:00  
				
					
						
							
							
								 
						
							
								cccb9d8530 
								
							 
						 
						
							
							
								
								build(deps): Bump twisted in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [twisted](https://github.com/twisted/twisted ) from 22.1.0 to 22.2.0.
- [Release notes](https://github.com/twisted/twisted/releases )
- [Changelog](https://github.com/twisted/twisted/blob/twisted-22.2.0/NEWS.rst )
- [Commits](https://github.com/twisted/twisted/compare/twisted-22.1.0...twisted-22.2.0 )
---
updated-dependencies:
- dependency-name: twisted
  dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-03-22 08:00:11 +00:00  
				
					
						
							
							
								 
						
							
								3c359455e2 
								
							 
						 
						
							
							
								
								Change directories during some tests in test_collection.py  
							
							... 
							
							
							
							As discussed in https://github.com/pytest-dev/pytest/pull/9800 , this uses
monkeypatch to change directories for two tests in `test_collection.py`, to preserve
their original purpose (even if just removing it doesn't seem to affect the outcome). 
							
						 
						
							2022-03-21 12:38:20 -03:00  
				
					
						
							
							
								 
						
							
								0ebfa1d76d 
								
							 
						 
						
							
							
								
								Fix CI for Python 3.11  
							
							... 
							
							
							
							Getting the current working directory has no side-effects, so these context managers were no-ops.
Discovered because Path.__enter__ is deprecated in Python 3.11, for removal in 3.13. 
							
						 
						
							2022-03-20 21:01:26 -07:00  
				
					
						
							
							
								 
						
							
								e9dd3dffab 
								
							 
						 
						
							
							
								
								Enhance errors for exception/warnings matching ( #8508 )  
							
							... 
							
							
							
							Co-authored-by: Florian Bruhin <me@the-compiler.org> 
							
						 
						
							2022-03-20 23:32:39 -03:00  
				
					
						
							
							
								 
						
							
								3297bb24a9 
								
							 
						 
						
							
							
								
								Remove unnecessary numpy import ( #9798 )  
							
							... 
							
							
							
							Fix  #9726  
						
							2022-03-21 00:01:59 +00:00  
				
					
						
							
							
								 
						
							
								b75cbee290 
								
							 
						 
						
							
							
								
								Remove newlines from left/right operands with '-vv' ( #9743 )  
							
							... 
							
							
							
							The left/right operands produced when `verbose > 1` should not contain newlines, because they are used to 
build the `summary` string. The `assertrepr_compare` function returns a list of lines, and the summary is one of those lines and should not contain newlines itself. 
Fix  #9742 
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com> 
							
						 
						
							2022-03-19 11:55:39 +00:00