f1aa7a25de 
								
							 
						 
						
							
							
								
								Merge pull request  #9493  from bluetech/conftesting  
							
							... 
							
							
							
							Some conftest changes 
							
						 
						
							2022-01-12 10:38:14 +02:00  
				
					
						
							
							
								 
						
							
								a425f15330 
								
							 
						 
						
							
							
								
								Merge pull request  #9494  from bluetech/instance-property  
							
							... 
							
							
							
							python: add back `instance` accessor to all python nodes, not just Function 
							
						 
						
							2022-01-10 21:08:46 +02:00  
				
					
						
							
							
								 
						
							
								0d5f52b127 
								
							 
						 
						
							
							
								
								build(deps): Bump django in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [django](https://github.com/django/django ) from 4.0 to 4.0.1.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/4.0...4.0.1 )
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2022-01-10 03:02:30 +00:00  
				
					
						
							
							
								 
						
							
								161bc48117 
								
							 
						 
						
							
							
								
								config: get rid of _conftestpath2mod  
							
							... 
							
							
							
							It duplicates what PluginManager already knows, and no longer needed now
that symlinks are not resolved (see previous commit). 
							
						 
						
							2022-01-09 12:33:45 +02:00  
				
					
						
							
							
								 
						
							
								f08a77de77 
								
							 
						 
						
							
							
								
								python: add back `instance` accessor to all python nodes, not just Function  
							
							... 
							
							
							
							Regressed in 062d91ab4Fix  #9486 . 
							
						 
						
							2022-01-09 12:14:46 +02:00  
				
					
						
							
							
								 
						
							
								ed83efaf4b 
								
							 
						 
						
							
							
								
								testing/test_monkeypatch: fix some patches leaking into pytest code  
							
							... 
							
							
							
							The tests patch `os.path.abspath` which can break some pytest internal
code since the patching is not undone immediately. 
							
						 
						
							2022-01-09 00:13:40 +02:00  
				
					
						
							
							
								 
						
							
								696f955ff8 
								
							 
						 
						
							
							
								
								Split wrappers and non-wrappers in test_load_initial_conftest_last_ordering  
							
							... 
							
							
							
							Seems better to test which one is which explicitly. 
							
						 
						
							2022-01-04 10:03:30 -03:00  
				
					
						
							
							
								 
						
							
								4038752bf3 
								
							 
						 
						
							
							
								
								Ensure Config.inifile is available during pytest_cmdline_main  
							
							... 
							
							
							
							Fix  #9396  
						
							2022-01-04 10:03:28 -03:00  
				
					
						
							
							
								 
						
							
								b0aabe4081 
								
							 
						 
						
							
							
								
								fix mypy 0.930 errors  
							
							
							
						 
						
							2021-12-30 06:19:29 -08:00  
				
					
						
							
							
								 
						
							
								61417b2551 
								
							 
						 
						
							
							
								
								Drop support for EOL Python 3.6  
							
							
							
						 
						
							2021-12-30 13:25:34 +02:00  
				
					
						
							
							
								 
						
							
								1fd3601caa 
								
							 
						 
						
							
							
								
								Drop support for EOL Python 3.6  
							
							
							
						 
						
							2021-12-30 12:37:18 +02:00  
				
					
						
							
							
								 
						
							
								b9663fed6f 
								
							 
						 
						
							
							
								
								Merge pull request  #9442  from hramezani/drop_python_36  
							
							... 
							
							
							
							Drop Python3.6 in CI, setup.cfg, and readme. 
							
						 
						
							2021-12-30 12:22:13 +02:00  
				
					
						
							
							
								 
						
							
								4eebfb2f19 
								
							 
						 
						
							
							
								
								build(deps): Bump django in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [django](https://github.com/django/django ) from 3.2.10 to 4.0.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.10...4.0 )
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2021-12-28 15:16:38 +00:00  
				
					
						
							
							
								 
						
							
								77042f77cc 
								
							 
						 
						
							
							
								
								Remove breakpoint support checking since all python versions support it.  
							
							
							
						 
						
							2021-12-28 10:11:45 +01:00  
				
					
						
							
							
								 
						
							
								3d7cd77017 
								
							 
						 
						
							
							
								
								Update syntax to Python3.7+.  
							
							
							
						 
						
							2021-12-28 10:11:35 +01:00  
				
					
						
							
							
								 
						
							
								55debfad1f 
								
							 
						 
						
							
							
								
								Fix typos ( #9424 )  
							
							
							
						 
						
							2021-12-27 09:23:15 -03:00  
				
					
						
							
							
								 
						
							
								7fc2cf51c2 
								
							 
						 
						
							
							
								
								Merge pull request  #9441  from bluetech/nose-setup-callable  
							
							... 
							
							
							
							python: skip nose setup/teardown fixtures if non-callable 
							
						 
						
							2021-12-27 11:09:51 +02:00  
				
					
						
							
							
								 
						
							
								10e21dadee 
								
							 
						 
						
							
							
								
								python: skip nose setup/teardown fixtures if non-callable  
							
							... 
							
							
							
							Since commit 89f0b5b5a2Fix  #9391 . 
							
						 
						
							2021-12-25 12:09:11 +02:00  
				
					
						
							
							
								 
						
							
								c69b84f236 
								
							 
						 
						
							
							
								
								fix typing issues in mypy 0.920  
							
							
							
						 
						
							2021-12-21 20:42:32 -05:00  
				
					
						
							
							
								 
						
							
								913439f5e5 
								
							 
						 
						
							
							
								
								Fix test_errors_in_xfail_skip_expressions for Python 3.10.1  
							
							... 
							
							
							
							Decided to remove the condition altogether as seems reasonable to state
that our own test suite requires Python 3.10.1.
Fix  #9413  
							
						 
						
							2021-12-16 10:18:07 -03:00  
				
					
						
							
							
								 
						
							
								3bbadda0cf 
								
							 
						 
						
							
							
								
								Merge pull request  #9407  from yuvalshi0/remove-eq-format  
							
							... 
							
							
							
							Avoid specialized assert formatting when we detect that __eq__ is overridden 
							
						 
						
							2021-12-14 10:53:56 +02:00  
				
					
						
							
							
								 
						
							
								a3cf2ad3bc 
								
							 
						 
						
							
							
								
								build(deps): Bump pytest-django in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [pytest-django](https://github.com/pytest-dev/pytest-django ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases )
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst )
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.5.1...v4.5.2 )
---
updated-dependencies:
- dependency-name: pytest-django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2021-12-13 03:02:33 +00:00  
				
					
						
							
							
								 
						
							
								4d6e8a310b 
								
							 
						 
						
							
							
								
								build(deps): Bump django in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [django](https://github.com/django/django ) from 3.2.9 to 3.2.10.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.9...3.2.10 )
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2021-12-12 14:26:36 +00:00  
				
					
						
							
							
								 
						
							
								0ea039db60 
								
							 
						 
						
							
							
								
								adding auto_detect=true test  
							
							
							
						 
						
							2021-12-12 16:11:33 +02:00  
				
					
						
							
							
								 
						
							
								0c45065040 
								
							 
						 
						
							
							
								
								removing coverage on eq method  
							
							
							
						 
						
							2021-12-12 15:39:30 +02:00  
				
					
						
							
							
								 
						
							
								7cf2b51d8e 
								
							 
						 
						
							
							
								
								Merge branch 'pytest-dev:main' into remove-eq-format  
							
							
							
						 
						
							2021-12-12 15:16:58 +02:00  
				
					
						
							
							
								 
						
							
								897395afd5 
								
							 
						 
						
							
							
								
								fix 9326  
							
							
							
						 
						
							2021-12-12 14:38:45 +02:00  
				
					
						
							
							
								 
						
							
								0c8a54ab77 
								
							 
						 
						
							
							
								
								Merge pull request  #9310  from bluetech/test-main-same-mod  
							
							... 
							
							
							
							testing/test_session: add a regression test for an old bug 
							
						 
						
							2021-12-11 22:26:28 +02:00  
				
					
						
							
							
								 
						
							
								ee93557ef3 
								
							 
						 
						
							
							
								
								Remove `PytestRemovedIn7Warning`  
							
							... 
							
							
							
							Fix  #8838 . 
						
							2021-12-08 15:58:08 +02:00  
				
					
						
							
							
								 
						
							
								0f39f11d88 
								
							 
						 
						
							
							
								
								Remove deprecated `pytest.collect` module  
							
							
							
						 
						
							2021-12-07 22:27:35 +02:00  
				
					
						
							
							
								 
						
							
								4a45a5e983 
								
							 
						 
						
							
							
								
								Remove deprecated `-k foobar:` syntax  
							
							
							
						 
						
							2021-12-07 22:27:35 +02:00  
				
					
						
							
							
								 
						
							
								927d9d274f 
								
							 
						 
						
							
							
								
								Remove deprecated `-k -foobar` syntax  
							
							
							
						 
						
							2021-12-07 22:27:35 +02:00  
				
					
						
							
							
								 
						
							
								41d8fb09ca 
								
							 
						 
						
							
							
								
								Remove deprecated `pytest_warning_captured` hook  
							
							
							
						 
						
							2021-12-07 22:27:35 +02:00  
				
					
						
							
							
								 
						
							
								0b0e2d2dbb 
								
							 
						 
						
							
							
								
								Remove deprecated `_fillfuncargs` function  
							
							
							
						 
						
							2021-12-07 22:27:35 +02:00  
				
					
						
							
							
								 
						
							
								dc7091502d 
								
							 
						 
						
							
							
								
								Fixed error message prints function decorators when using assert in Python 3.9 and above. ( #9359 )  
							
							
							
						 
						
							2021-12-07 11:31:03 +02:00  
				
					
						
							
							
								 
						
							
								17e2ecb253 
								
							 
						 
						
							
							
								
								build(deps): Bump pytest-django in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [pytest-django](https://github.com/pytest-dev/pytest-django ) from 4.4.0 to 4.5.1.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases )
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst )
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.4.0...v4.5.1 )
---
updated-dependencies:
- dependency-name: pytest-django
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2021-12-06 03:02:03 +00:00  
				
					
						
							
							
								 
						
							
								a335ade1f5 
								
							 
						 
						
							
							
								
								Rename pathlib hook parameters  ( #9363 )  
							
							... 
							
							
							
							* Rename pytest_ignore_collect fspath parameter to collection_path
* Rename pytest_collect_file fspath parameter to file_path
* Rename pytest_pycollect_makemodule fspath parameter to module_path
* Rename pytest_report_header startpath parameter to start_path
* Rename pytest_report_collectionfinish startpath parameter to start_path
* Update docs with the renamed parameters
* Use pytest-flakes fork temporarily to prove it works
* Use pytest-flakes 4.0.5 
							
						 
						
							2021-12-03 13:14:09 +01:00  
				
					
						
							
							
								 
						
							
								a0a37adfb2 
								
							 
						 
						
							
							
								
								build(deps): Bump anyio[curio,trio] in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [anyio[curio,trio]](https://github.com/agronholm/anyio ) from 3.3.4 to 3.4.0.
- [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.3.4...3.4.0 )
---
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> 
							
						 
						
							2021-11-29 03:02:13 +00:00  
				
					
						
							
							
								 
						
							
								df9e94fbca 
								
							 
						 
						
							
							
								
								Change deprecation warnings into errors for 7.0 release, using a new mechanism ( #9309 )  
							
							
							
						 
						
							2021-11-21 17:13:44 +02:00  
				
					
						
							
							
								 
						
							
								bd897513f2 
								
							 
						 
						
							
							
								
								Skip TestPyCacheDir.test_sys_pycache_prefix_integration on Windows + Python 3.9  
							
							... 
							
							
							
							Related to #9298  
							
						 
						
							2021-11-19 11:22:08 -03:00  
				
					
						
							
							
								 
						
							
								43213add57 
								
							 
						 
						
							
							
								
								testing/test_session: add a regression test for an old bug  
							
							... 
							
							
							
							Nothing tests this currently. Make sure it doesn't regress if/when the
complex code in `Session.collect` is cleaned up. 
							
						 
						
							2021-11-15 23:22:54 +02:00  
				
					
						
							
							
								 
						
							
								a172a4141b 
								
							 
						 
						
							
							
								
								Change PytestRemovedIn7Warning to error by default  
							
							... 
							
							
							
							Per our backward compatibility policy.
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com> 
							
						 
						
							2021-11-14 23:57:10 +02:00  
				
					
						
							
							
								 
						
							
								128f29ee35 
								
							 
						 
						
							
							
								
								Categorize deprecation warnings to `PytestRemovedInXWarning`  
							
							... 
							
							
							
							Closes  #7480 .
This allows us to more easily follow our deprecation policy of turning
warnings into errors for the X.0 releases before complete removal in
X.1.
It also makes the deprecation timeline clear to both the users and
pytest developers -- it can be hard to keep track.
Note that the designation is not meant to be a binding contract - if the
time comes for removal of a specific deprecation but we decide it's too
soon, can just bump it to the next major.
Inspired by Django:
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#deprecating-a-feature  
						
							2021-11-14 23:57:10 +02:00  
				
					
						
							
							
								 
						
							
								062d91ab47 
								
							 
						 
						
							
							
								
								python: remove the `Instance` collector node  
							
							
							
						 
						
							2021-11-13 14:03:44 +02:00  
				
					
						
							
							
								 
						
							
								5d87a27434 
								
							 
						 
						
							
							
								
								Elide pytest-internal paths for --fixtures ( #9281 )  
							
							... 
							
							
							
							* Elide pytest-internal paths for --fixtures
Fixes  #8822 
* Make flake8 happy 
							
						 
						
							2021-11-10 15:16:41 +01:00  
				
					
						
							
							
								 
						
							
								f87df9c52e 
								
							 
						 
						
							
							
								
								nodes: keep plugins which subclass Item, File working for a bit more ( #9279 )  
							
							... 
							
							
							
							* nodes: keep plugins which subclass Item, File working for a bit more
Fix  #8435 .
* Update src/_pytest/nodes.py
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Co-authored-by: Florian Bruhin <me@the-compiler.org>
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com> 
							
						 
						
							2021-11-08 14:51:04 +00:00  
				
					
						
							
							
								 
						
							
								eb6c4493b2 
								
							 
						 
						
							
							
								
								Deprecation of `msg=` for both `pytest.skip()` and `pytest.fail()`. ( #8950 )  
							
							... 
							
							
							
							* porting pytest.skip() to use reason=, adding tests
* avoid adding **kwargs, it breaks other functionality, use optional msg= instead
* deprecation of `pytest.fail(msg=...)`
* fix bug with not capturing the returned reason value
* pass reason= in acceptance async tests instead of msg=
* finalising deprecations of `msg` in `pytest.skip()` and `pytest.fail()`
* Update doc/en/deprecations.rst
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
* Update doc/en/deprecations.rst
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
* fix failing test after upstream merge
* adding deprecation to `pytest.exit(msg=...)`
* add docs for pytest.exit deprecations
* finalising deprecation of msg for pytest.skip, pytest.exit and pytest.fail
* hold a reference to the Scope instance to please mypy
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com> 
							
						 
						
							2021-11-08 15:31:14 +01:00  
				
					
						
							
							
								 
						
							
								ff9e51c171 
								
							 
						 
						
							
							
								
								build(deps): Bump django in /testing/plugins_integration  
							
							... 
							
							
							
							Bumps [django](https://github.com/django/django ) from 3.2.8 to 3.2.9.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.8...3.2.9 )
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							2021-11-08 03:01:45 +00:00  
				
					
						
							
							
								 
						
							
								89f0b5b5a2 
								
							 
						 
						
							
							
								
								nose: fix class- and module-level fixture behavior  
							
							... 
							
							
							
							Fixes  #9272 .
Fixing the issue directly in the plugin is somewhat hard, so do it in
core. Since the plugin is going to be deprecated, I figure it's OK to
cheat a bit. 
						
							2021-11-06 14:45:24 +02:00  
				
					
						
							
							
								 
						
							
								a53abe93d8 
								
							 
						 
						
							
							
								
								Merge pull request  #9208  from bluetech/legacypath-plugin  
							
							... 
							
							
							
							Add legacypath plugin, move py.path stuff there 
							
						 
						
							2021-11-02 20:35:12 +02:00