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  
				
					
						
							
							
								 
						
							
								55debfad1f 
								
							 
						 
						
							
							
								
								Fix typos ( #9424 )  
							
							
							
						 
						
							2021-12-27 09:23:15 -03:00  
				
					
						
							
							
								 
						
							
								ce7cff9f8e 
								
							 
						 
						
							
							
								
								Move pathlist support to legacypath plugin  
							
							
							
						 
						
							2021-10-28 21:51:51 +03:00  
				
					
						
							
							
								 
						
							
								f5fd2fb176 
								
							 
						 
						
							
							
								
								Improve UX during errors while parsing warning filters  
							
							... 
							
							
							
							Fix  #7864 
Fix  #9218 
Closes  #8343 
Closes  #7877  
						
							2021-10-21 13:15:41 -03:00  
				
					
						
							
							
								 
						
							
								5059b31a73 
								
							 
						 
						
							
							
								
								Remove redundant explicit os.fspath calls  
							
							... 
							
							
							
							Python calls it on its own. 
							
						 
						
							2021-10-09 13:44:44 +03:00  
				
					
						
							
							
								 
						
							
								c82bda259c 
								
							 
						 
						
							
							
								
								Add a `pythonpath` setting to allow paths to be added to `sys.path`. ( #9134 )  
							
							
							
						 
						
							2021-10-05 09:36:38 +03:00  
				
					
						
							
							
								 
						
							
								d5c62d0326 
								
							 
						 
						
							
							
								
								Making `--debug` more configurable for the pytest user ( #8955 )  
							
							... 
							
							
							
							Close  #8954  
						
							2021-07-30 17:37:38 -03:00  
				
					
						
							
							
								 
						
							
								109312ba86 
								
							 
						 
						
							
							
								
								Make --version write to stdout rather than stderr  
							
							... 
							
							
							
							Fix  #8246  
						
							2021-06-28 15:56:26 -03:00  
				
					
						
							
							
								 
						
							
								113a860a1f 
								
							 
						 
						
							
							
								
								argparsing: support parser.addini(type="paths") which returns pathlib.Paths  
							
							
							
						 
						
							2021-05-07 09:58:51 +03:00  
				
					
						
							
							
								 
						
							
								e354c5c919 
								
							 
						 
						
							
							
								
								Fix warning filters used in tests  
							
							
							
						 
						
							2021-05-04 17:25:02 +02:00  
				
					
						
							
							
								 
						
							
								9078c3ce23 
								
							 
						 
						
							
							
								
								fix   #8464  wrong root dir when -c is passed ( #8537 )  
							
							... 
							
							
							
							fix  #8464  wrong root dir when -c is passed 
						
							2021-04-16 14:38:35 -03:00  
				
					
						
							
							
								 
						
							
								b706a2c048 
								
							 
						 
						
							
							
								
								Fix error with --import-mode=importlib and modules containing dataclasses or pickle ( #7870 )  
							
							... 
							
							
							
							Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Fixes  #7856 , fixes  #7859  
							
						 
						
							2021-04-05 17:10:03 -03:00  
				
					
						
							
							
								 
						
							
								bc055e8e69 
								
							 
						 
						
							
							
								
								Fix required_plugins with prereleases ( #8469 )  
							
							... 
							
							
							
							* Fix required_plugins with prereleases
Fixes  #8456 
* Fix existing tests
* Update changelog/8456.bugfix.rst
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com> 
							
						 
						
							2021-03-21 22:51:12 +01:00  
				
					
						
							
							
								 
						
							
								59251e8a2a 
								
							 
						 
						
							
							
								
								Remove/replace some unneeded usages of py.path  
							
							
							
						 
						
							2021-03-14 14:12:28 +02:00  
				
					
						
							
							
								 
						
							
								dbed1ff68f 
								
							 
						 
						
							
							
								
								adopt main terminology in the configs  
							
							... 
							
							
							
							ref pytest-dev/meta#8  
							
						 
						
							2021-03-09 22:35:34 +01:00  
				
					
						
							
							
								 
						
							
								170a2c5040 
								
							 
						 
						
							
							
								
								testing/test_config: check inipath instead of inifile  
							
							... 
							
							
							
							inifile is soft-deprecated in favor of inipath. 
							
						 
						
							2020-12-22 21:08:25 +02:00  
				
					
						
							
							
								 
						
							
								ed658d6829 
								
							 
						 
						
							
							
								
								Some py.path.local -> pathlib.Path  
							
							... 
							
							
							
							- Some conftest related functions
- _confcutdir
- Allow arbitrary os.PathLike[str] in gethookproxy. 
							
						 
						
							2020-12-12 17:33:28 +02:00  
				
					
						
							
							
								 
						
							
								810b878ef8 
								
							 
						 
						
							
							
								
								Migrate to pytester: test_capture.py, test_terminal.py, approx.py ( #8108 )  
							
							... 
							
							
							
							* Migrate to pytester: test_capture.py, test_config.py, approx.py
* migrate test_terminal.py
* revert test_config.py
* more typing in test_terminal.py
* try-out 'tr' fixture update
* revert 'tr' fixture, update test_config.py 
							
						 
						
							2020-12-08 22:20:02 +02:00  
				
					
						
							
							
								 
						
							
								76acb44330 
								
							 
						 
						
							
							
								
								Update tests to cover explicit None and "string" as addini() types  
							
							
							
						 
						
							2020-10-07 17:56:54 -04:00  
				
					
						
							
							
								 
						
							
								33d119f71a 
								
							 
						 
						
							
							
								
								py36+: com2ann  
							
							
							
						 
						
							2020-10-05 18:33:17 -07:00  
				
					
						
							
							
								 
						
							
								66bd44c13a 
								
							 
						 
						
							
							
								
								py36+: pyupgrade: py36+  
							
							
							
						 
						
							2020-10-03 12:46:54 -07:00  
				
					
						
							
							
								 
						
							
								fb1d550aac 
								
							 
						 
						
							
							
								
								py36+: remove rexport of Path and PurePath  
							
							
							
						 
						
							2020-10-03 12:16:52 -07:00  
				
					
						
							
							
								 
						
							
								bfadd4060e 
								
							 
						 
						
							
							
								
								py36+: from typing import Type: no longer need guard  
							
							
							
						 
						
							2020-10-02 19:50:10 -07:00  
				
					
						
							
							
								 
						
							
								a238d1f37d 
								
							 
						 
						
							
							
								
								py36+: remove TYPE_CHECKING from _pytest.compat  
							
							... 
							
							
							
							automated with:
```bash
git grep -l 'from .* import TYPE_CHECKING' |
    xargs reorder-python-imports \
        --application-directories .:src \
        --remove-import 'from _pytest.compat import TYPE_CHECKING' \
        --add-import 'from typing import TYPE_CHECKING'
``` 
							
						 
						
							2020-10-02 15:03:24 -07:00  
				
					
						
							
							
								 
						
							
								4a9192f727 
								
							 
						 
						
							
							
								
								findpaths: fix regression causing incorrect rootdir to be determined  
							
							... 
							
							
							
							When switching from py.path.local to pathlib (70f3ad1c1f 
							
						 
						
							2020-09-28 19:13:01 +03:00  
				
					
						
							
							
								 
						
							
								b031a7cecf 
								
							 
						 
						
							
							
								
								Smoke tests for assorted plugins ( #7721 )  
							
							... 
							
							
							
							Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net> 
							
						 
						
							2020-09-19 15:56:52 -03:00  
				
					
						
							
							
								 
						
							
								89305e7b09 
								
							 
						 
						
							
							
								
								Improve output for missing config keys ( #7572 )  
							
							... 
							
							
							
							Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com> 
							
						 
						
							2020-09-19 12:57:29 -03:00  
				
					
						
							
							
								 
						
							
								da21fc5883 
								
							 
						 
						
							
							
								
								Improve output for missing required plugins/unknown config keys ( #7723 )  
							
							... 
							
							
							
							Co-authored-by: Florian Bruhin <me@the-compiler.org> 
							
						 
						
							2020-09-16 12:13:17 +02:00  
				
					
						
							
							
								 
						
							
								19e99ab413 
								
							 
						 
						
							
							
								
								Integrate warnings filtering directly into Config ( #7700 )  
							
							... 
							
							
							
							Warnings are a central part of Python, so much that Python itself has
command-line and environtment variables to handle warnings.
By moving the concept of warning handling into Config, it becomes natural to
filter warnings issued as early as possible, even before the "_pytest.warnings"
plugin is given a chance to spring into action. This also avoids the weird
coupling between config and the warnings plugin that was required before.
Fix  #6681 
Fix  #2891 
Fix  #7620 
Fix  #7626 
Close  #7649 
Co-authored-by: Ran Benita <ran@unusedvar.com> 
							
						 
						
							2020-09-04 11:57:15 -03:00  
				
					
						
							
							
								 
						
							
								70f3ad1c1f 
								
							 
						 
						
							
							
								
								config/findpaths: convert from py.path.local to pathlib  
							
							
							
						 
						
							2020-08-06 18:46:17 +03:00  
				
					
						
							
							
								 
						
							
								b8471aa527 
								
							 
						 
						
							
							
								
								testing: fix some docstring issues  
							
							... 
							
							
							
							In preparation for enforcing some docstring lints. 
							
						 
						
							2020-08-03 10:10:43 +03:00  
				
					
						
							
							
								 
						
							
								a2f021b6f3 
								
							 
						 
						
							
							
								
								Remove no longer needed `noqa: F821` uses  
							
							... 
							
							
							
							Not needed since pyflakes 2.2.0. 
							
						 
						
							2020-07-10 13:08:56 +03:00  
				
					
						
							
							
								 
						
							
								be7b02c3b8 
								
							 
						 
						
							
							
								
								Make test_missing_required_plugins xdist-independent  
							
							... 
							
							
							
							Also cleaned up the parametrized list using `pytest.param` to assign ids
and removed some redundant cases.
Follow up to #7459  
							
						 
						
							2020-07-09 22:09:28 -03:00  
				
					
						
							
							
								 
						
							
								0dd77b3e39 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/master' into issue_7295  
							
							
							
						 
						
							2020-06-23 23:21:36 -04:00  
				
					
						
							
							
								 
						
							
								8994e1e3a1 
								
							 
						 
						
							
							
								
								config: make _get_plugin_specs_as_list a little clearer and more general  
							
							
							
						 
						
							2020-06-23 11:47:52 +03:00  
				
					
						
							
							
								 
						
							
								4655b79985 
								
							 
						 
						
							
							
								
								config: improve typing  
							
							
							
						 
						
							2020-06-22 16:39:14 +03:00  
				
					
						
							
							
								 
						
							
								ac89d6532a 
								
							 
						 
						
							
							
								
								replace stderr warnings with the warnings module  
							
							
							
						 
						
							2020-06-20 12:15:58 -04:00  
				
					
						
							
							
								 
						
							
								dd446bee5e 
								
							 
						 
						
							
							
								
								Fix exception causes all over the codebase  
							
							
							
						 
						
							2020-06-19 22:02:24 +03:00  
				
					
						
							
							
								 
						
							
								4cc4ebf3c9 
								
							 
						 
						
							
							
								
								Don't treat ini keys defined in conftest.py as invalid ( #7384 )  
							
							
							
						 
						
							2020-06-18 12:58:41 -03:00  
				
					
						
							
							
								 
						
							
								320625527a 
								
							 
						 
						
							
							
								
								Add more tests and docs  
							
							
							
						 
						
							2020-06-13 11:22:18 -04:00  
				
					
						
							
							
								 
						
							
								7ea116d74c 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin' into issue_7346  
							
							
							
						 
						
							2020-06-13 09:54:23 -04:00  
				
					
						
							
							
								 
						
							
								f551cab877 
								
							 
						 
						
							
							
								
								Merge pull request  #7358  from bluetech/typing2  
							
							... 
							
							
							
							More type annotations, fix some typing bugs 
							
						 
						
							2020-06-13 10:44:11 +03:00  
				
					
						
							
							
								 
						
							
								6f8633cc17 
								
							 
						 
						
							
							
								
								add in solution barring documentation  
							
							
							
						 
						
							2020-06-13 02:47:15 -04:00  
				
					
						
							
							
								 
						
							
								aaa6f1c3fa 
								
							 
						 
						
							
							
								
								Merge pull request  #7330  from gnikonorov/issue_7305  
							
							
							
						 
						
							2020-06-12 19:35:38 -03:00  
				
					
						
							
							
								 
						
							
								1cf9405075 
								
							 
						 
						
							
							
								
								Fix some type errors around py.path.local  
							
							... 
							
							
							
							These errors are found using a typed version of py.path.local. 
							
						 
						
							2020-06-12 17:34:31 +03:00  
				
					
						
							
							
								 
						
							
								95cb7fb676 
								
							 
						 
						
							
							
								
								review feedback  
							
							
							
						 
						
							2020-06-10 00:44:22 -04:00  
				
					
						
							
							
								 
						
							
								c17d50829f 
								
							 
						 
						
							
							
								
								Add pyproject.toml support ( #7247 )  
							
							
							
						 
						
							2020-06-08 10:03:10 -03:00  
				
					
						
							
							
								 
						
							
								2a3c21645e 
								
							 
						 
						
							
							
								
								Commit solution thus far, needs to be polished up pre PR  
							
							
							
						 
						
							2020-06-06 02:38:18 -04:00  
				
					
						
							
							
								 
						
							
								54ad048be7 
								
							 
						 
						
							
							
								
								Enable check_untyped_defs mypy option for testing/ too  
							
							
							
						 
						
							2020-06-05 11:34:20 +03:00