Kale Kundert
7d8688d54b
Reflect dimension in approx repr for numpy arrays.
2018-07-30 23:23:17 -07:00
Bruno Oliveira
253419316c
Merge pull request #3738 from nicoddemus/release-3.7.0
...
Release 3.7.0
2018-07-30 20:38:22 -03:00
Bruno Oliveira
997ef59306
Fix typos in CHANGELOG
2018-07-30 18:31:35 -03:00
Bruno Oliveira
60b1913ba2
Preparing release version 3.7.0
2018-07-30 20:14:42 +00:00
Bruno Oliveira
2c09930b6d
Use proper quotes for python 3.7 on travis.yml
2018-07-30 20:13:17 +00:00
Bruno Oliveira
d461e931dd
Use python 3.6 for regendoc
2018-07-30 20:12:52 +00:00
Bruno Oliveira
eada0b1fd7
Merge remote-tracking branch 'upstream/master' into release-3.7.0
2018-07-30 20:12:30 +00:00
Bruno Oliveira
150535b6c1
Merge pull request #3696 from abrammer/approx_numpy_tolerance_bugfix
...
bugfix in ApproxNumpy initialisation, use keywords for arguments to fix
2018-07-30 17:09:18 -03:00
Ronny Pfannschmidt
f1ec02cdcd
Merge pull request #3733 from nicoddemus/py37
...
Test with Python 3.7 on Travis and AppVeyor
2018-07-30 20:02:03 +02:00
Ronny Pfannschmidt
9f5d73d44a
Merge pull request #3735 from nicoddemus/deprecate-pytest-namespace
...
Deprecate pytest namespace
2018-07-30 19:55:45 +02:00
Bruno Oliveira
8609f8d25a
Move warning definition to deprecated module
2018-07-30 14:25:29 -03:00
Bruno Oliveira
953a618102
Update CHANGELOG entry about pytest_namespace deprecation
2018-07-30 12:18:37 -03:00
Bruno Oliveira
cf6d8e7e53
Fix test and update warning in pytest_namespace docs
2018-07-30 12:16:42 -03:00
Bruno Oliveira
8af78f417f
Merge pull request #3732 from nicoddemus/merge-master-into-features
...
Merge master into features
2018-07-30 07:26:19 -03:00
abrammer
535fd1f311
may as well include inf test while we're at it
2018-07-29 23:12:04 -04:00
abrammer
762eaf443a
update changelog to include the addition of tests
2018-07-29 22:57:39 -04:00
abrammer
330640eb96
update tests to check tolerance args and expecing nan in numpy arrays
2018-07-29 22:47:38 -04:00
Bruno Oliveira
e3d412d1f4
Warn when implementations exist for pytest_namespace hook
...
This hook has been deprecated and will be removed in the future.
Fix #2639
2018-07-29 22:20:23 -03:00
Bruno Oliveira
6f9a12a8a3
Merge pull request #3486 from ammarnajjar/last-failed-no-failures_docs_correction
...
--last-failed-no-failures docs correction
2018-07-29 21:26:03 -03:00
Bruno Oliveira
0e47599572
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-07-29 21:15:51 -03:00
Bruno Oliveira
c480223e88
Test with Python 3.7 on Travis and AppVeyor
2018-07-29 21:14:38 -03:00
Bruno Oliveira
0b522d40a7
Merge pull request #3734 from nicoddemus/fix-docs
...
Fix reference to _Result in docs
2018-07-29 21:14:09 -03:00
Bruno Oliveira
d900a6c8bd
Merge pull request #3731 from asottile/pygrep_hooks
...
Use upstream rst-backticks hook
2018-07-29 20:52:28 -03:00
Bruno Oliveira
fe46fbb719
Fix reference to _Result in docs
2018-07-29 20:50:24 -03:00
Anthony Sottile
8d401cdb9d
Use upstream rst-backticks hook
2018-07-29 15:46:06 -07:00
Bruno Oliveira
3f3f6f1be4
Merge pull request #3729 from nicoddemus/fix-changelog-titles
...
Fix "Pytest" to "pytest" in the CHANGELOG
2018-07-29 19:42:24 -03:00
Bruno Oliveira
b6da5cc54c
Fix "Pytest" to "pytest" in the CHANGELOG
...
Now that we have fixed towncrier to render the proper title, seems fitting
to update the others
2018-07-28 12:57:18 -03:00
Bruno Oliveira
eaeeedc9c3
Merge pull request #3728 from nicoddemus/release-3.6.4
...
Release 3.6.4
2018-07-28 12:53:49 -03:00
Bruno Oliveira
317cd41215
Preparing release version 3.6.4
2018-07-28 12:59:04 +00:00
Bruno Oliveira
7f27512a48
Pin pluggy to <0.8
2018-07-28 09:46:35 -03:00
Kale Kundert
bf127a63b2
Need to iterate over the flattened array.
2018-07-27 11:24:42 -07:00
Bruno Oliveira
fe16f81da1
Merge pull request #3705 from nicoddemus/deprecate-call-fixture-func
...
Deprecate calling fixture functions directly
2018-07-27 15:09:09 -03:00
Bruno Oliveira
d0ba242c46
Implement change suggested by @kalekundert in PR
2018-07-27 15:07:20 -03:00
Bruno Oliveira
fe06be8590
Merge pull request #3723 from pytest-dev/nicoddemus-patch-1
...
Use "pytest" on the CHANGELOG
2018-07-27 10:23:11 -03:00
Bruno Oliveira
79b4ca92d8
Use "pytest" on the CHANGELOG
2018-07-27 09:21:18 -03:00
Bruno Oliveira
57b0c60cb4
Remove Testdir.run_example as recommended
2018-07-26 20:10:40 -03:00
Bruno Oliveira
6e57d123bb
Mark test_idval_hypothesis as flaky on Windows ( #3707 )
2018-07-26 19:58:42 -03:00
Bruno Oliveira
011f88f7e7
Deprecate calling fixture functions directly
...
This will now issue a RemovedInPytest4Warning when the user calls
a fixture function directly, instead of requesting it from test
functions as is expected
Fix #3661
2018-07-26 19:58:42 -03:00
Bruno Oliveira
2eb9301ad5
Improve CHANGELOG
2018-07-25 08:09:31 -03:00
abrammer
f0db64ac2e
drop the duplicate approx call
...
update test to include both np.array(actual) and np.array(expected)
2018-07-24 21:18:44 -04:00
abrammer
514ca6f4ad
add test wrt #3695 checking numpy array tolerance args
2018-07-23 23:40:06 -04:00
Bruno Oliveira
b7419bd9bb
Merge pull request #3710 from bmwiedemann/date
...
Do not claim copyright for future years
2018-07-23 11:14:39 -03:00
Bernhard M. Wiedemann
2e344d4d63
Do not claim copyright for future years
...
When building today's python-pytest-doc openSUSE package
in the year 2033, the documentation .html files state
Copyright 2015-2033 , holger krekel and pytest-dev team.
That cannot be correct, because nobody did anything copyright-worthy
for this file in 2033.
See also https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated
Additionally, this change makes the package build reproducible.
See https://reproducible-builds.org/ for why this is good.
2018-07-23 15:02:59 +02:00
Ronny Pfannschmidt
f8749eeb5c
Merge pull request #3708 from nicoddemus/small-refactors
...
Small refactorings
2018-07-23 06:53:08 +02:00
Anthony Sottile
f76142508f
Merge pull request #3694 from drewrisinger/patch-2
...
Fix mark.rst typos & grammar
2018-07-22 09:15:33 -07:00
Anthony Sottile
be2afb950a
Merge pull request #3706 from ehershey/patch-1
...
typo - $PYTEST_ADDOTPS -> $PYTEST_ADDOPTS
2018-07-22 09:03:23 -07:00
E Hershey
19de1b7f29
typo - PYTEST_ADDOTPS -> PYTEST_ADDOPTS
2018-07-22 11:39:32 -04:00
Bruno Oliveira
f5165064ee
Make yield_fixture just call fixture to do its work
...
Since fixture and yield_fixture are identical, they should call
the same code; as it was, the code inside them was already starting
to deviate.
2018-07-22 09:41:03 -03:00
Bruno Oliveira
c9a0881309
Isolate the code that resolves the fixturefunc to a separate function
...
pytest_fixture_setup was somewhat convoluted because it was trying
to do too many things.
2018-07-22 09:37:41 -03:00
Bruno Oliveira
5167933395
Move teardown code of yield fixtures to a partial to avoid leaks
...
As it were before, it was keeping a reference to fixturefunc and it
alive when an error occurred
2018-07-22 09:27:34 -03:00