Bruno Oliveira
|
bf074b37a3
|
Show deprecation warnings for compat properties
Fix #3616
|
2018-09-13 14:10:30 -03:00 |
Ronny Pfannschmidt
|
a0ce9a4441
|
remove the legacy code about im_func and generalize using fix and compat.getimfunc
|
2018-09-13 15:38:36 +02:00 |
Bruno Oliveira
|
5a52acaa92
|
Make config no longer optional in parametrize id functions
|
2018-09-04 16:55:52 -03:00 |
Bruno Oliveira
|
6d497f2c77
|
Fix stacklevel for warning about Metafunc.addcall
|
2018-09-04 16:50:24 -03:00 |
Bruno Oliveira
|
d3ca739c00
|
Use explicit instances when calling warnings.warn_explicit
|
2018-09-04 16:29:48 -03:00 |
Bruno Oliveira
|
47bf58d69e
|
Make Node.warn support two forms, new and deprecated
As suggested during review, it now accepts two forms:
Node.warn(warning_instance) (recommended)
Node.warn(code, message) (deprecated)
|
2018-09-04 15:53:17 -03:00 |
Bruno Oliveira
|
b42518acd5
|
Change std_warn to receive a single warning instance, addressed review suggestions
|
2018-09-04 14:20:42 -03:00 |
Bruno Oliveira
|
c304998ed7
|
Remove commented out code
|
2018-09-04 11:35:35 -03:00 |
Bruno Oliveira
|
19a01c9849
|
Make PytestWarning and RemovedInPytest4Warning part of the public API
|
2018-09-04 11:35:34 -03:00 |
Bruno Oliveira
|
78ac7d99f5
|
Deprecate Config.warn and Node.warn, replaced by standard warnings
|
2018-09-04 11:35:34 -03:00 |
Bruno Oliveira
|
0c8dbdcd92
|
Fix existing tests now that we are using standard warnings
|
2018-09-04 11:35:34 -03:00 |
Bruno Oliveira
|
8e4501ee29
|
Use std_warn for warning about applying marks directly to parameters
|
2018-09-04 11:35:34 -03:00 |
Bruno Oliveira
|
0100f61b62
|
Start the laywork to capture standard warnings
|
2018-09-04 11:35:15 -03:00 |
Bruno Oliveira
|
51e32cf7cc
|
Remove Python 2.6 specific warning
|
2018-09-04 11:35:06 -03:00 |
Steve Piercy
|
e040fd20a3
|
Use https, save a redirect
|
2018-08-28 14:38:55 -07:00 |
Bruno Oliveira
|
de6f2c0336
|
Collect tests from __init__.py files if they match 'python_files'
Fix #3773
|
2018-08-25 11:18:52 -03:00 |
turturica
|
3396225f74
|
Merge branch 'master' of github.com:pytest-dev/pytest into fix-3854
|
2018-08-24 11:47:24 -07:00 |
turturica
|
72e6482994
|
Make linting happy.
|
2018-08-23 22:58:36 -07:00 |
turturica
|
5f8b50c094
|
Address #3796 and add a test for it.
|
2018-08-23 22:48:44 -07:00 |
Anthony Sottile
|
0fc4a806e5
|
py.builtins._totext -> string literals or six.text_type
|
2018-08-22 23:00:04 -07:00 |
turturica
|
4d3c1ab4f0
|
Fixes #3854
|
2018-08-22 21:42:59 -07:00 |
turturica
|
e4f76f6350
|
Merge branch 'master' of github.com:pytest-dev/pytest into fix-3854
|
2018-08-22 20:36:52 -07:00 |
Bruno Oliveira
|
64faa41d06
|
Merge pull request #3802 from jonozzz/fix-3768
Fix test collection from packages mixed with directories. #3768 and #3789
|
2018-08-15 21:42:25 -03:00 |
Josh Holland
|
abbd7c30a4
|
Unhide documentation for metafunc.config
Fixes #3746.
|
2018-08-11 20:48:55 +01:00 |
turturica
|
bfd0addaeb
|
Fix test collection from packages mixed with directories. #3768 and #3789
|
2018-08-10 12:56:08 -07:00 |
turturica
|
d0bd01beca
|
Collect any tests from a package's __init__.py
|
2018-08-09 18:06:38 -07:00 |
Bruno Oliveira
|
fe0a76e1a6
|
Fix recursion bug if a pytest_ignore_collect returns False instead of None
|
2018-08-03 15:40:33 -03:00 |
Bruno Oliveira
|
ac9ceaacd8
|
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
|
2018-07-15 11:54:14 -03:00 |
Bruno Oliveira
|
3e599dc149
|
Check that param sets match number of args during _for_parametrize
It makes sense to validate them during creation of the parameter set
|
2018-07-11 22:57:53 -03:00 |
Bruno Oliveira
|
54fbc6f6e1
|
Refactor parametrize() code for readability
Extract the parametrize() block of code into methods for better
readability
|
2018-07-11 21:29:21 -03:00 |
Bruno Oliveira
|
3c19370cec
|
Merge remote-tracking branch 'upstream/features' into jonozzz/features
|
2018-07-05 18:15:17 -03:00 |
Serhii Mozghovyi
|
1dc5e97ac2
|
Make test parametrization override indirect fixtures
|
2018-06-28 14:32:29 +03:00 |
Ronny Pfannschmidt
|
b8486037d3
|
fix #3605 - unpack markdecorators from parameterization
|
2018-06-26 21:57:31 +02:00 |
Anthony Sottile
|
cbaa7dd56a
|
Upgrade pre-commit hooks except pyupgrade
|
2018-06-26 06:35:27 -07:00 |
Bruno Oliveira
|
93e55ad2fa
|
Remove unused attribute and parameter in CallSpec2
|
2018-06-18 21:48:49 -03:00 |
Ronny Pfannschmidt
|
eaa882f3d5
|
switch to src layout
|
2018-05-26 09:10:38 +02:00 |