Bruno Oliveira
fac8208e8f
Preparing release version 3.4.2
2018-03-04 19:37:49 +00:00
Bruno Oliveira
b319375592
Preparing release version 3.4.1
2018-02-20 01:43:59 +00:00
Bruno Oliveira
527845ef29
Changelog adjustments suggested during review
2018-01-30 19:49:08 +00:00
Bruno Oliveira
489e638b4e
Preparing release version 3.4.0
2018-01-30 19:47:56 +00:00
Henk-Jaap Wagenaar
d7e1f037d9
Fix issue 2985 blurb in changelog
2018-01-06 22:15:06 +00:00
Bruno Oliveira
bd2d0d2c3c
Preparing release version 3.3.2
2017-12-25 20:38:27 +00:00
Bruno Oliveira
1c5b887dfd
Fix spelling of pytest in CHANGELOG
2017-12-08 09:04:42 -02:00
Bruno Oliveira
88f2cc9b64
Small formatting fixes in CHANGELOG
2017-12-05 22:28:56 -02:00
Bruno Oliveira
2a111ff700
Preparing release version 3.3.1
2017-12-05 20:41:57 +00:00
Bruno Oliveira
fdfc1946da
Add CHANGELOG entry about pytest.fixture "params" being now immutable
...
Fix #2959
2017-11-29 18:56:57 -02:00
Tom Viner
4b5f0d5ffa
replace non-breaking space with space
2017-11-28 11:12:40 +00:00
Bruno Oliveira
d95c8a2204
Fix link to #2636 in CHANGELOG
2017-11-27 19:51:41 -02:00
Bruno Oliveira
4678cbeb91
Merge remote-tracking branch 'upstream/features'
2017-11-27 19:37:58 -02:00
Bruno Oliveira
6cdd851227
CHANGELOG and docs changes requested during review
2017-11-27 10:19:34 -02:00
Daniel Hahler
d5f038e29a
Fix spelling: s/re-writ/rewrit/g
...
This also fixes "can not" to "cannot" in the "Module already imported so
cannot be rewritten" assertion error.
2017-11-26 20:46:06 +01:00
Bruno Oliveira
6eeacaba3e
Fix typos in CHANGELOG
2017-11-26 09:00:08 -02:00
Bruno Oliveira
05cfdcc8cb
Revert making TerminalWriter public in TerminalReporter plugin
...
We eventually want to replace py.io.TerminalWriter (exposed as
"_tw" in TerminalReporter) by something else, so deprecating access
to "_tw" and making it public as "writer" is contrary to that.
2017-11-23 19:53:12 -02:00
Bruno Oliveira
0ddd3e2839
Fix linting in CHANGELOG
2017-11-23 19:02:13 -02:00
Bruno Oliveira
aa9a02ec44
Preparing release version 3.3.0
2017-11-23 20:25:36 +00:00
Bruno Oliveira
a220a40350
Preparing release version 3.2.5
2017-11-15 00:12:42 +00:00
Bruno Oliveira
4a0aea2deb
Add missing entry to CHANGELOG for 3.2.4
2017-11-14 22:05:48 -02:00
Bruno Oliveira
54cea3d178
Small formatting changes in CHANGELOG
2017-11-14 18:33:46 -02:00
Bruno Oliveira
a0ad9e31da
Preparing release version 3.2.4
2017-11-13 20:01:17 +00:00
Bruno Oliveira
6b91bc88de
Preparing release version 3.2.3
2017-10-03 21:42:34 +00:00
Bruno Oliveira
c52f87ede3
Preparing release version 3.2.2
2017-09-06 21:37:57 +00:00
Bruno Oliveira
45d2962e97
Preparing release version 3.2.1
2017-08-08 21:11:11 +00:00
Alex Gaynor
84061233ef
Tiny rst syntax fix
2017-08-01 19:10:50 -04:00
Bruno Oliveira
d2bca93109
Update grammar in changelog as requested
2017-08-01 18:01:22 -03:00
Bruno Oliveira
07dd1ca7b8
Preparing release version 3.2.0
2017-07-30 21:37:18 +00:00
Bruno Oliveira
b63f6770a1
Preparing release version 3.1.3
2017-07-03 23:29:13 +00:00
Bruno Oliveira
f0541b685b
Improve CHANGELOG formatting a bit
2017-06-10 12:31:20 -03:00
Bruno Oliveira
7cbf265bb5
Preparing release version 3.1.2
2017-06-08 17:37:42 -04:00
Bruno Oliveira
2fd7626046
Preparing release version 3.1.1
2017-05-30 17:19:34 -04:00
Ronny Pfannschmidt
b74c626026
switch changelog management to towncrier
2017-05-30 15:54:15 +02:00
Floris Bruynooghe
6117930642
Merge pull request #2438 from nicoddemus/issue-2434
...
Fix unicode issue while running doctests in Python 2
2017-05-29 13:36:07 +02:00
Floris Bruynooghe
7bb06b6dad
Merge pull request #2439 from nicoddemus/warnings-docs
...
Warn that warning-capture can break existing suites in the docs and CHANGELOG
2017-05-29 13:34:39 +02:00
Bruno Oliveira
836dc451f4
Fix unicode issue while running doctests in Python 2
...
Fix #2434
2017-05-26 07:35:14 -03:00
wanghui
53add4435f
Add ChangeLog
2017-05-26 13:14:42 +08:00
Bruno Oliveira
313a884459
Warn that warning-capture can break existing suites in the docs and CHANGELOG
...
Related to discussion in #2430
2017-05-25 21:19:08 -03:00
Florian Bruhin
bd065a12bb
Fix up 3.1 changelog
2017-05-23 07:40:39 +02:00
Bruno Oliveira
f9df750025
Update 3.1.0 release date
2017-05-22 19:39:17 -03:00
Bruno Oliveira
0ff7f5d0c6
Prepare CHANGELOG for version 3.1.0
2017-05-19 19:10:09 -03:00
Bruno Oliveira
d86c89e193
Revert refactor of old-style to new-style classes
...
As discussed in the mailing list, unfortunately this might break APIs
due to the subtle differences between new and old-style classes (see #2398 ).
This reverts commit d4afa1554b
from PR #2179 .
2017-05-17 18:20:51 -03:00
Bruno Oliveira
bd708068ab
Merge branch 'features' into regendoc-reduce-version-noise
2017-05-14 14:34:07 -03:00
Ronny Pfannschmidt
783670b84e
Merge pull request #2274 from dmand/feat/junitxml/suite-name-option
...
Add `junit_suite_name` ini option
2017-05-13 19:10:29 +02:00
Dmitri Pribysh
2ab8d12fe3
Update changelog and add usage info
2017-05-12 17:48:50 -03:00
Dmitri Pribysh
204db4d1e2
Update Changelog
2017-05-12 17:48:50 -03:00
Ronny Pfannschmidt
f1c4e2c032
regendoc: reduce version noise by replacing minor/patch with placeholders
2017-05-12 22:17:40 +02:00
Ronny Pfannschmidt
a92e397011
add changelog for fixing #2391
2017-05-12 18:39:45 +02:00
Bruno Oliveira
f3b359f5b8
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
...
# Conflicts:
# _pytest/capture.py
# _pytest/compat.py
# _pytest/python.py
# testing/python/collect.py
# testing/test_mark.py
2017-05-03 19:04:53 -03:00
Vitaly Lashmanov
60b8339166
Issue #2383 - Show the correct error message when collect "parametrize" func with wrong args and add test for this case.
2017-04-29 14:32:09 +03:00
Bruno Oliveira
25371ddbfd
Merge pull request #2315 from RonnyPfannschmidt/namespace-hook
...
remove pytest internal usage of the namespace hook
2017-04-21 16:24:20 -03:00
Kodi Arfer
dcefb287fc
Try not to assume a module's file extension is .py
2017-04-19 12:26:56 -07:00
Bruno Oliveira
83c508eea3
Verify hooks after collection completes
...
Fix #1821
2017-04-11 21:55:12 -03:00
Jonas Obrist
08d83a5c6a
updated changelog and authors files
2017-04-10 17:50:18 +09:00
Bruno Oliveira
639c592f31
Add missing link in CHANGELOG
2017-04-06 22:59:24 -03:00
Skylar Downes
3aa4fb62d6
Merge branch 'master' into master
2017-04-06 16:35:38 -07:00
Bruno Oliveira
24ac923938
Add CHANGELOG entry
2017-04-06 12:42:17 -03:00
Bruno Oliveira
58ac4faf0c
Fix exception formatting while importing test modules
...
Fix #2336
2017-03-29 14:43:13 -03:00
Ronny Pfannschmidt
809c36e1f6
add a changelog note for pytest_namespace
2017-03-28 11:45:06 +02:00
Bruno Oliveira
0c1c2580d0
Add CHANGELOG entry
2017-03-22 12:40:31 -03:00
Ronny Pfannschmidt
e8a1b36c82
add changelog
2017-03-20 10:21:47 +01:00
Bruno Oliveira
aad4946fb6
Move CHANGELOG entry for #2276 to 3.0.8
2017-03-14 18:58:28 -03:00
Xander Johnson
9062fbb9cc
Add AUTHORS & CHANGELOG
2017-03-14 18:55:58 -03:00
Bruno Oliveira
6c9011c12f
Merge branch 'master' into merge-master-into-features-post-3.0.7
2017-03-14 18:10:23 -03:00
Bruno Oliveira
fa15ae7545
Post 3.0.7 release handling
2017-03-14 18:07:44 -03:00
Bruno Oliveira
b1ab2ca963
Bump to version 3.0.7 and update CHANGELOG
2017-03-13 18:37:49 -04:00
Bruno Oliveira
1e0cf5ce4d
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
...
# Conflicts:
# AUTHORS
# CHANGELOG.rst
# _pytest/pytester.py
2017-03-10 15:54:05 -03:00
fbjorn
cee578e327
Fix trailing whitespace in terminal output
2017-03-05 23:20:55 +03:00
Omer Hadari
f71467f5b1
added link to changelog
2017-03-04 10:55:59 +02:00
Omer Hadari
6aaf7ae18b
added to authors and changelog
2017-03-04 10:32:14 +02:00
Katerina Koukiou
26e50f1162
junitxml: adjust junitxml output file to comply with JUnit xsd
...
Change XML file structure in the manner that failures in call and errors
in teardown in one test will appear under separate testcase elements in
the XML report.
2017-03-02 15:10:25 +01:00
Bruno Oliveira
3aac3d0a00
Merge branch 'master' into anydbmfix
2017-03-01 14:41:18 -03:00
Anthony Sottile
6ba3475448
Make capsys more like stdio streams in python3. Resolves #1407 .
2017-02-23 17:46:27 -08:00
Katerina Koukiou
d3a6be4130
junitxml: Fix double system-out tags per testcase
...
In the xml report we now have two occurences for the system-out tag if
the testcase writes to stdout both on call and teardown and fails in
teardown.
This behaviour is against the xsd.
This patch makes sure that the system-out section exists only
once per testcase.
2017-02-22 16:39:20 +01:00
Michal Wajszczuk
fb0b90646e
New-style classes implemented for python 2.7 - #2147
2017-02-16 20:28:17 +01:00
Bruno Oliveira
9c809f5ad0
Merge pull request #2255 from scop/spelling
...
Spelling fixes
2017-02-15 18:41:49 -02:00
Ville Skyttä
ede4e9171f
Spelling fixes
2017-02-15 17:00:58 +02:00
Florian Bruhin
91c6bef77a
Add venv to the default norecursedirs
...
venv (without a dot) is commonly used as a name for a virtualenv directory, and
we don't want to collect that.
2017-02-15 14:55:12 +01:00
Patrick Hayes
6b5566db66
Update changelog
2017-02-14 17:47:42 -08:00
Patrick Hayes
49289fed52
Fix docs
2017-02-14 17:21:20 -08:00
Patrick Hayes
00ec30353b
Update docs as requested
2017-02-14 17:08:42 -08:00
Bruno Oliveira
9eb1d73951
--override-ini now correctly overrides some fundamental options like "python_files"
...
#2238
2017-02-08 23:03:33 -02:00
Bruno Oliveira
6a097aa0f1
Merge branch 'master' into allow_skipping_unittests_with_pdb_active
2017-02-08 20:30:14 -02:00
Ran Benita
3a0a0c2df9
Ignore errors raised from descriptors when collecting fixtures
...
Descriptors (e.g. properties) such as in the added test case are
triggered during collection, executing arbitrary code which can raise.
Previously, such exceptions were propagated and failed the collection.
Now these exceptions are caught and the corresponding attributes are
silently ignored.
A better solution would be to completely skip access to all custom
descriptors, such that the offending code doesn't even trigger. However
I think this requires manually going through the instance and all of its
MRO for each and every attribute checking if it might be a proper
fixture before accessing it. So I took the easy route here.
In other words, putting something like this in your test class is still
a bad idea...:
@property
def innocent(self):
os.system('rm -rf /')
Fixes #2234 .
2017-02-07 14:27:34 +02:00
Bruno Oliveira
ccf9877447
Merge pull request #2232 from vidartf/patch-1
...
Do not asssume `Item.obj` in 'skipping' plugin
2017-02-03 21:39:42 -02:00
Bruno Oliveira
a4d2a5785b
Merge pull request #2142 from barneygale/xfail_without_condition_getglobals
...
'xfail' markers without a condition no longer rely on the underlying `Item` objects deriving from `PyobjMixin`
2017-02-03 16:09:47 -02:00
Vidar Tonaas Fauske
1a88a91c7a
Update authors/history
2017-02-03 16:29:43 +01:00
Thomas Kriechbaumer
43662ce789
allow error message matching in pytest.raises
2017-02-02 19:52:33 +01:00
Bruno Oliveira
176c680e19
Merge branch 'master' into allow_skipping_unittests_with_pdb_active
2017-02-01 15:53:14 -02:00
Bruno Oliveira
e1c5314d80
Replace 'raise StopIteration' usages in the code by 'return's in accordance to PEP-479
...
Fix #2160
2017-02-01 02:37:55 -02:00
mbyt
d1c725078a
Allow to skip unittests if --pdb active
...
closes #2137
2017-01-31 04:47:31 +01:00
Ronny Pfannschmidt
3b47cb45e6
Merge pull request #2222 from RonnyPfannschmidt/features
...
merge master into features
2017-01-26 13:48:10 +01:00
Ronny Pfannschmidt
3f30c22894
fix changelog merge mistake
2017-01-26 13:03:29 +01:00
Ronny Pfannschmidt
713bdc1f9f
merge master into features
2017-01-26 12:00:52 +01:00
Bruno Oliveira
beb77c1a38
Fix release date for 3.0.6
2017-01-23 13:51:12 -02:00
Ronny Pfannschmidt
c9f327dc87
bump version to next dev
2017-01-22 22:21:08 +01:00
Ronny Pfannschmidt
55f21bd2b9
bump version
2017-01-22 18:44:30 +01:00
Ravi Chandra
0e58c3fa80
updates for PR review #2198
2017-01-21 16:47:49 +13:00
Ravi Chandra
c848d0a771
Pass parameter name to `make_parametrize_id` hook function
2017-01-21 16:46:45 +13:00