Bruno Oliveira
aaa547e763
Add some recursive-exclude related to hypothesis and freeze
2016-11-10 08:48:56 -02:00
Bruno Oliveira
26b1519534
Add keywords to setup.py as suggested by pyroma
...
Related to #1
2016-11-09 20:47:14 -02:00
Bruno Oliveira
84d7068723
Add "check-manifest" to linting and remove unused scripts from root
...
Fix #1
2016-11-09 20:42:28 -02:00
Bruno Oliveira
ab274299fe
Regen doc for 3.0.4
2016-11-09 16:44:58 -05:00
Bruno Oliveira
ff72db2f1a
Version bump to 3.0.4, CHANGELOG, announcement
2016-11-09 19:38:11 -02:00
Bruno Oliveira
fc304b8b44
Merge pull request #2006 from MSeifert04/fix-1965
...
Fix memory leak with pytest.raises by using weakref
2016-11-09 19:19:40 -02:00
Bruno Oliveira
1130b9f742
Fix the stubborn test about cyclic references left by pytest.raises
...
In Python 2, a context manager's __exit__() leaves sys.exc_info with the exception values even when it was supposed
to suppress the exception, so we explicitly call sys.exc_clear() which removes the traceback and allow the object
to be released.
Also updated the test to not depend on the immediate destruction of the object but instead to ensure it is not being
tracked as a cyclic reference.
Fix #1965
2016-11-08 22:20:27 -02:00
Michael Seifert
552c7d4286
added test (thanks @nicoddemus) and added links in Changelog
2016-11-08 22:13:02 -02:00
Michael Seifert
1e5b21cd61
Fix memory leak with pytest.raises by using weakref
2016-11-08 22:12:23 -02:00
Bruno Oliveira
0b94c43bac
Merge pull request #2046 from d-b-w/clean-up-unittest-issue1649
...
Clean up unittest TestCase objects after tests are complete (#1649 ).
2016-11-08 15:23:46 -02:00
Dan Wandschneider
e46e653794
Clean up unittest TestCase objects after tests are complete ( #1649 ).
...
Fix #1649
Users of unittest style TestCases will create expensive objects
in setUp. We should clean up TestCase instances that are lying
around so that they don't fill up memory.
2016-11-07 18:32:56 -08:00
Ronny Pfannschmidt
07af307e4a
Merge pull request #2045 from manueljacob/normalized-version
...
Change version to be in normal form according to PEP 440.
2016-11-06 12:30:22 +01:00
Manuel Jacob
a190ad27f2
Change version to be in normal form according to PEP 440.
...
The version is changed from 3.0.4.dev to 3.0.4.dev0. Note that
according to PEP 440 these are considered equivalent, but 3.0.4.dev0 is
the normal form.
This standard was followed when the version was set to 3.0.3.dev0 in
commit ee284ec5
, but in commit a87b1c79
the version was set to
3.0.4.dev, leaving the development number implicit again.
2016-11-06 09:00:04 +01:00
Bruno Oliveira
f331e8f576
Merge pull request #2028 from nicoddemus/empty-tracebacks
...
Properly handle exceptions in multiprocessing tasks
2016-11-03 12:18:38 -02:00
Bruno Oliveira
006a901b86
Properly handle exceptions in multiprocessing tasks
...
Fix #1984
2016-11-03 10:48:43 -02:00
Ronny Pfannschmidt
45b21fa9b0
Merge pull request #2041 from gdyuldin/fix_xuint_teardown
...
Fix teardown error message in generated xUnit XML
2016-11-02 15:24:53 +01:00
Georgy Dyuldin
e2bb4f893b
Fix teardown error message in generated xUnit XML
...
It was "test setup failure" even error happens on test teardown.
2016-11-02 15:50:32 +03:00
Bruno Oliveira
e3544553b7
Merge pull request #2030 from matclab/fix/442
...
Report teardown output on test failure
2016-10-31 13:50:50 -02:00
Ronny Pfannschmidt
1e6ed2a25a
Merge pull request #2033 from The-Compiler/workshop
...
Update "Next Open Trainings"
2016-10-31 07:52:42 +01:00
Florian Bruhin
382fa231a1
Update "Next Open Trainings"
2016-10-31 06:49:06 +01:00
Mathieu Clabaut
6f93ffb5d4
Report teardown output on test failure
...
Until now, teardown stdout/stderr output was not reported upon test failure.
However such output is sometime necessary to understand the failure.
fix #442
2016-10-30 09:52:46 +01:00
Ronny Pfannschmidt
35d154f580
Merge pull request #2011 from nicoddemus/false-rewrite-warnings
...
Fix false-positive warnings from assertion rewrite hook
2016-10-24 12:19:23 +02:00
Ronny Pfannschmidt
4e9c633185
Merge pull request #2021 from nicoddemus/doctest-modules-ci
...
Re-enable docstring testing of _pytest modules on CI
2016-10-24 12:19:05 +02:00
Bruno Oliveira
7f95ea31d5
Merge pull request #2024 from jaraco/issue-2022
...
Restore pexpect tests on macOS. Fixes #2022 .
2016-10-21 17:17:14 -02:00
Jason R. Coombs
f2c01c5407
Restore pexpect tests and bypass isalive/wait on macOS. Ref #2022 .
2016-10-21 12:36:42 -04:00
Jason R. Coombs
60a347aeb5
Also use flush where wait was called unconditionally
2016-10-21 12:11:35 -04:00
Jason R. Coombs
11ec96a927
Extract child flush as a staticmethod
2016-10-21 12:10:35 -04:00
Bruno Oliveira
37dcdfbc58
Re-enable docstring testing of _pytest modules on CI
...
* Fix doctests
* List one env per line in tox.ini
* "doctesting" tox env now also tests docstrings using doctest
2016-10-21 08:55:53 -02:00
Bruno Oliveira
2a2b8cee09
Fix false-positive warnings from assertion rewrite hook
...
Fix #2005
2016-10-20 21:40:57 -02:00
Ronny Pfannschmidt
82fb63ca2d
Merge pull request #2019 from nicoddemus/fix-metavar-pair-help
...
Fix cmdline help message for custom options with two or more metavars
2016-10-21 01:36:24 +02:00
Bruno Oliveira
620b384b69
Fix cmdline help message for custom options with two or more metavars
...
Fix #2004
2016-10-20 20:34:39 -02:00
Ronny Pfannschmidt
5cbfefbba0
Merge pull request #2018 from nicoddemus/disable-py35-trial
...
Disable py35-trial while #1989 is not fixed
2016-10-20 23:18:48 +02:00
Bruno Oliveira
95007ddeca
Disable py35-trial while #1989 is not fixed
2016-10-20 18:56:54 -02:00
Ronny Pfannschmidt
995e60efbf
Merge pull request #2017 from nicoddemus/pytest-main-args-docs
...
Remove example of obsolete pytest.main usage with string
2016-10-20 18:29:54 +02:00
Bruno Oliveira
918af99a2a
Remove example of obsolete pytest.main usage with string
2016-10-20 12:30:58 -02:00
Ronny Pfannschmidt
c0719a5b4c
Merge pull request #2009 from pytest-dev/RonnyPfannschmidt-patch-docs-remove-main-string
...
docs: remove mention of string args to main
closes #2008
2016-10-18 17:52:15 +02:00
Ronny Pfannschmidt
afc1e2b0e1
docs: remove mention of string args to main
...
fixes #2008
string args got deprecated due to the insane amount of edge-cases wrt splitting on windows vs posix
2016-10-18 17:21:40 +02:00
Ronny Pfannschmidt
de1614923f
Merge pull request #2000 from nicoddemus/issue-1998
...
Handle import errors with non-ascii messages when importing plugins
2016-10-17 21:13:56 +02:00
Bruno Oliveira
bc1f8666aa
Fix link in CHANGELOG for #1853
2016-10-12 18:19:34 -03:00
Bruno Oliveira
78eec0d7f8
Handle import errors with non-ascii messages when importing plugins
...
Fix #1998
2016-10-12 18:19:32 -03:00
Bruno Oliveira
3301a1c173
Merge pull request #1987 from Budulianin/master
...
Update fixture.rst
2016-10-05 17:01:11 -03:00
Grigorii Eremeev
65ebc75ee8
Update fixture.rst
...
Removed redundant word
2016-10-05 22:26:13 +03:00
Bruno Oliveira
cf13355d3f
Merge pull request #1979 from nicoddemus/show-traceback-during-collection
...
Show traceback during collection
2016-10-05 16:18:43 -03:00
Florian Bruhin
1289cbb9a5
Merge pull request #1988 from nicoddemus/pr-template-small-fixes
...
Mention small doc fixes don't need tests/changelog entries in PR template
2016-10-05 21:10:36 +02:00
Bruno Oliveira
10433db225
Mention small doc fixes don't need tests/changelog entries in PR template
2016-10-05 15:36:38 -03:00
Bruno Oliveira
50b960c1f0
Add note about not monkey-patching builtins ( #1986 )
...
* Add note about not monkey-patching builtins
Related to #1985
* Mention -s as well
2016-10-05 17:57:40 +02:00
Bruno Oliveira
d47ae799a7
Merge pull request #1983 from pytest-dev/fix-1981-improve-ini-options-help-text
...
Fix #1981 , improve ini-options help text
2016-10-04 12:43:42 -03:00
Tom V
c93a9e3361
Fix #1981 , improve ini-options help text
2016-10-04 14:41:09 +01:00
Bruno Oliveira
a1d446b8e8
Display traceback from Import errors using pytest's short representation
...
Also omit pytest's own modules and internal libraries (py and pluggy) in low verbosity
Fix #1976
2016-10-03 21:46:44 -03:00
Bruno Oliveira
7d66e4eae1
Display full traceback from Import errors when collecting test modules
...
Fix #1976
2016-10-03 20:47:44 -03:00