Bruno Oliveira
dca77b2273
Escape whitespace only strings when diffing them on failed assertions
...
Fix #3443
2018-05-03 20:38:00 -03:00
Jon Dufresne
d2bf0bf9bb
Update all pypi.python.org URLs to pypi.org
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-04-26 06:49:33 -07:00
Bruno Oliveira
0b2b73c36a
Remove CHANGELOG entries left by old bug in towncrier
2018-04-24 21:25:13 -03:00
Bruno Oliveira
2a480c59ae
Merge pull request #3367 from brianmaissy/feature/indicative_error_for_parametrize_with_default_argument
...
added indicative error when parametrizing an argument with a default …
2018-04-23 11:04:36 -03:00
Bruno Oliveira
cefeba33ef
Update changelog formatting
2018-04-20 17:40:19 -03:00
Rachel Kogan
48c99f62e3
add changelog
2018-04-17 16:24:32 -04:00
Brian Maissy
857098fe0f
added indicative error when parametrizing an argument with a default value
2018-04-15 20:52:57 +03:00
Holger Kohr
6626d2aef9
Mention omission of fixtures with leading '_', closes #3398
2018-04-14 11:04:00 +02:00
Bruno Oliveira
015626ce69
Merge pull request #3384 from nicoddemus/leak-frame
...
Reset reference to failed test frame before each test executes
2018-04-12 07:53:34 -03:00
Bruno Oliveira
6e8e3c967a
Add changelog entry for #2798
2018-04-10 21:09:57 -03:00
Tim Strazny
ec2d8223cf
Fix issue #3372
2018-04-06 14:16:12 +02:00
Bruno Oliveira
ef34de960c
Merge pull request #3360 from RonnyPfannschmidt/xml_property_yay
...
record_property is no longer experimental
2018-04-05 20:03:22 -03:00
Bruno Oliveira
9a62ebf490
Merge pull request #3355 from irmen/py37deprfixes
...
change collections.abc import to fix deprecation warnings on python 3.7
2018-04-02 20:31:26 -03:00
Ronny Pfannschmidt
211f3c47b5
record_property is no longer experimental
2018-04-01 15:39:43 +02:00
Floris Bruynooghe
77128ee2dc
Merge pull request #3356 from nicoddemus/remove-stale-changelog-entries
...
Remove stale CHANGELOG entries
2018-03-30 14:19:38 +02:00
Bruno Oliveira
e5eba8419a
Remove stale CHANGELOG entries
...
Those were not removed in the last release because of a bug in
towncrier; I was about to fallback to don't use the .rst extension
for entries but just noticed that this was fixed in towncrier 17.8.0
so it should no longer be a problem.
2018-03-29 19:21:59 -03:00
Bruno Oliveira
6a81aae4f2
Move compatibility imports to compat.py and fix linting
2018-03-29 19:05:15 -03:00
Bruno Oliveira
7656581302
Update changelog formatting
2018-03-28 07:31:26 -03:00
Jeffrey Rackauckas
34afded06d
Update pytest.raises to raise a TypeError when an invalid keyword argument is passed.
2018-03-27 19:57:15 -07:00
Bruno Oliveira
5ecff65285
Merge pull request #3327 from nicoddemus/release-3.5.0
...
Release 3.5.0
2018-03-22 20:58:15 -03:00
Ronny Pfannschmidt
d7d4afea17
Merge pull request #3330 from nicoddemus/remove-custom-flatten
...
Remove terminal.flatten function in favor of collapse from more_itertools
2018-03-22 14:22:47 +01:00
Bruno Oliveira
6c2739d1e6
Add CHANGELOG for #3330
2018-03-21 20:23:17 -03:00
Bruno Oliveira
f3c87a77a7
Merge remote-tracking branch 'upstream/master' into release-3.5.0
2018-03-21 20:39:44 +00:00
Bruno Oliveira
6f95189cf7
Merge pull request #3306 from nicoddemus/2405-scope-fixture-order
...
Instantiate fixtures by scope order in test function requests
2018-03-21 17:37:05 -03:00
Ronny Pfannschmidt
add5ce0fb8
Merge pull request #3230 from brianmaissy/features
...
deprecate pytest_plugins in non-top-level conftest
2018-03-21 07:44:34 +01:00
Bruno Oliveira
59e7fd478e
Sort fixtures by scope when determining fixture closure
...
Fix #2405
2018-03-20 20:10:53 -03:00
Bruno Oliveira
d03e38941b
Merge pull request #3295 from brianmaissy/feature/last-failed-no-failures-behavior
...
implemented --last-failed-no-failures
2018-03-20 19:17:25 -03:00
Jeffrey Rackauckas
c1d73bb535
Modifying changelog to reflect new changes for 3245
2018-03-18 21:27:48 -07:00
Ronny Pfannschmidt
f61d0525a5
Merge pull request #3318 from nicoddemus/merge-master-into-features
...
Merge master into features
2018-03-17 09:40:32 +01:00
Bruno Oliveira
1fff81e21d
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-03-16 18:15:28 -03:00
Jason R. Coombs
965a030564
Add changelog. Ref #3314 .
2018-03-15 21:31:12 -04:00
Bruno Oliveira
fbcf1a90c9
Merge pull request #3193 from pytest-dev/ref-docs
...
Reference docs
2018-03-15 12:04:34 -03:00
Tadeu Manoel
c34dde7a3f
Add support for pytest.approx comparisons between array and scalar
2018-03-14 15:47:21 -03:00
Tareq Alayan
7e53f9432c
issue #3308 : fix example in documentation
...
https://github.com/pytest-dev/pytest/issues/3308
2018-03-14 15:44:43 +02:00
Bruno Oliveira
cbb2c55dea
Merge pull request #3304 from RonnyPfannschmidt/cmdoptions-removal
...
remove CmdOptions since we can use argparse.Namespace()
2018-03-13 17:48:21 -03:00
Bruno Oliveira
9517c3a2aa
Suppress ``IOError`` when closing the temporary file used for capturing streams in Python 2.7.
...
Fix #2370
2018-03-13 17:41:42 -03:00
Ronny Pfannschmidt
87f2003245
remove CmdOptions since we can use argparse.Namespace()
2018-03-13 18:13:56 +01:00
Ronny Pfannschmidt
37a52607c2
unify cli verbosity handling
...
based on https://github.com/pytest-dev/pytest/issues/3294#issuecomment-372190084
we really shouldnt have N options we post mortem hack together to determine verbosity
this change starts by unifying the data, we still need to handle deprecation/removal of config.quiet
2018-03-13 07:05:22 +01:00
Bruno Oliveira
f8791c9246
Merge pull request #3292 from RonnyPfannschmidt/exception-attrs
...
internal refactor port exc FOrmattedExcinfo to attrs, remove old code
2018-03-12 20:54:52 -03:00
Kostis Anagnostopoulos
02bec7a3bb
Add changelog & myself (ankostis) to authors
2018-03-13 01:46:44 +02:00
Bruno Oliveira
0302622310
Improve CHANGELOG entry a bit
2018-03-12 18:22:12 -03:00
Brian Maissy
d2e533b8a3
implemented --last-failed-no-failures
2018-03-10 22:45:45 +02:00
Brian Maissy
54b15f5826
deprecated pytest_plugins in non-top-level conftest
2018-03-10 21:20:12 +02:00
Bruno Oliveira
d2dbbd4caa
Add CHANGELOG entry
2018-03-09 17:46:44 -03:00
Ronny Pfannschmidt
50e682d2db
add changelog
2018-03-09 11:06:26 +01:00
Bruno Oliveira
ed8b1efc16
Add a CHANGELOG entry for the reference docs
...
Fix #1713
2018-03-06 20:41:20 -03:00
Jeffrey Rackauckas
e42fe5f0f9
Add doc to norecursedirs in tox.ini
2018-03-05 19:35:41 -08:00
Bruno Oliveira
ade7ad25c7
Merge remote-tracking branch 'upstream/master' into features
2018-03-05 19:48:25 -03:00
Bruno Oliveira
fac8208e8f
Preparing release version 3.4.2
2018-03-04 19:37:49 +00:00
Bruno Oliveira
25399da904
Reintroduce more_itertools dependency
...
Reintroduce more_itertools that was added in #3265 , now in the features branch
2018-03-04 10:59:46 -03:00