Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-06 | [DOC] Add examples for mark.with_args | Xuan Luong | |
2017-08-05 | remove os.sep as it behaves differently linux and windows. | Srinivas Reddy Thatiparthy | |
* on linux it is '/' * on windows it is '\' | |||
2017-07-30 | Merge pull request #2576 from ↵ | Bruno Oliveira | |
maiksensi/feat/raise-not-implemented-for-lt-gt-in-approx #2003 Change behavior of `approx.py` to only support `__eq__` comparison | |||
2017-07-30 | Merge pull request #2632 from jmoldow/pep_0415_suppress_exception_context | Bruno Oliveira | |
Support PEP-415's Exception.__suppress_context__ | |||
2017-07-30 | Merge pull request #2617 from wence-/fix/nondeterministic-fixtures | Bruno Oliveira | |
Fix nondeterminism in fixture collection order | |||
2017-07-29 | Support PEP-415's Exception.__suppress_context__ | Jordan Moldow | |
PEP-415 states that `exception.__context__` should be suppressed in traceback outputs, if `exception.__suppress_context__` is `True`. Now if a ``raise exception from None`` is caught by pytest, pytest will no longer chain the context in the test report. The algorithm in `FormattedExcinfo` now better matches the one in `traceback.TracebackException`. `Exception.__suppress_context__` is available in all of the versions of Python 3 that are supported by pytest. Fixes #2631. | |||
2017-07-26 | Merge remote-tracking branch 'upstream/master' into features | Bruno Oliveira | |
2017-07-26 | Show multiple issue links in CHANGELOG entries | Mihai Capotă | |
Restores the functionality removed in PR #2488. | |||
2017-07-26 | Fix nondeterminism in fixture collection order | Lawrence Mitchell | |
fixtures.reorder_items is non-deterministic because it reorders based on iteration over an (unordered) set. Change the code to use an OrderedDict instead so that we get deterministic behaviour, fixes #920. | |||
2017-07-25 | Add PR requirements changelog and authors | Maik Figura | |
2017-07-20 | Merge branch 'master' into features | Bruno Oliveira | |
2017-07-20 | Merge pull request #2578 from Llandy3d/2375 | Floris Bruynooghe | |
Provides encoding attribute on CaptureIO | |||
2017-07-19 | Merge remote-tracking branch 'upstream/master' into fix-flake8-errors | Bruno Oliveira | |
2017-07-19 | Merge branch 'fix-flake8-issues' | Bruno Oliveira | |
2017-07-17 | Merge branch 'fix-flake8-issues' into features | Bruno Oliveira | |
2017-07-17 | updated meta | Andras Tim | |
2017-07-16 | Provides encoding attribute on CaptureIO | Llandy Riveron Del Risco | |
Fix #2375 | |||
2017-07-15 | Add myself to AUTHORS as required by the PR help text. | Martin Altmayer | |
2017-06-29 | allow staticmethods to be detected as test functions | Nathaniel Waisbrot | |
Allow a class method decorated `@staticmethod` to be collected as a test function (if it meets the usual criteria). This feature will not work in Python 2.6 -- static methods will still be ignored there. | |||
2017-06-01 | Fix --help with required options | Segev Finer | |
This works by adding an argparse Action that will raise an exception in order to skip the rest of the argument parsing. This prevents argparse from quitting due to missing required arguments, similar to the way that the builtin argparse --help option is implemented by raising SystemExit. Fixes: #1999 | |||
2017-05-26 | Add Hui Wang to AUTHORS list | Bruno Oliveira | |
2017-05-12 | Update AUTHORS list | Dmitri Pribysh | |
2017-05-03 | Merge remote-tracking branch 'upstream/master' into merge-master-into-features | Bruno Oliveira | |
# Conflicts: # _pytest/capture.py # _pytest/compat.py # _pytest/python.py # testing/python/collect.py # testing/test_mark.py | |||
2017-04-29 | Issue #2383 - Show the correct error message when collect "parametrize" func ↵ | Vitaly Lashmanov | |
with wrong args and add test for this case. | |||
2017-04-19 | Try not to assume a module's file extension is .py | Kodi Arfer | |
2017-04-10 | updated changelog and authors files | Jonas Obrist | |
2017-04-06 | Merge branch 'master' into master | Skylar Downes | |
2017-03-19 | Added 'Paweł Adamczak' to AUTHORS | Paweł Adamczak | |
2017-03-14 | Add AUTHORS & CHANGELOG | Xander Johnson | |
2017-03-10 | Merge remote-tracking branch 'upstream/master' into merge-master-into-features | Bruno Oliveira | |
# Conflicts: # AUTHORS # CHANGELOG.rst # _pytest/pytester.py | |||
2017-03-05 | Fix trailing whitespace in terminal output | fbjorn | |
2017-03-04 | added in the correct alphabitcal order | Omer Hadari | |
2017-03-04 | added in the correct alphabitcal order | Omer Hadari | |
2017-03-04 | added to authors and changelog | Omer Hadari | |
2017-02-23 | Make capsys more like stdio streams in python3. Resolves #1407. | Anthony Sottile | |
2017-02-16 | New-style classes implemented for python 2.7 - #2147 | Michal Wajszczuk | |
2017-02-14 | Update docs as requested | Patrick Hayes | |
2017-02-07 | Ignore errors raised from descriptors when collecting fixtures | Ran Benita | |
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-03 | Merge pull request #2232 from vidartf/patch-1 | Bruno Oliveira | |
Do not asssume `Item.obj` in 'skipping' plugin | |||
2017-02-03 | Merge pull request #2142 from barneygale/xfail_without_condition_getglobals | Bruno Oliveira | |
'xfail' markers without a condition no longer rely on the underlying `Item` objects deriving from `PyobjMixin` | |||
2017-02-03 | Update authors/history | Vidar Tonaas Fauske | |
2017-01-26 | Merge pull request #2222 from RonnyPfannschmidt/features | Ronny Pfannschmidt | |
merge master into features | |||
2017-01-26 | merge master into features | Ronny Pfannschmidt | |
2017-01-22 | Add py36 identifier | Victor Uriarte | |
and order AUTHORS | |||
2017-01-21 | Pass parameter name to `make_parametrize_id` hook function | Ravi Chandra | |
2017-01-11 | Fail assert_outcomes() on missing terminal report | Eli Boyarski | |
Currently if the terminal report of testdir.runpytest() is missing, assert_outcomes() on its output fails because parseoutcomes() returns an unexpected value (None). It's better to fail parseoutcomes() directly. | |||
2017-01-10 | Added name to AUTHORS and change to CHANGELOG | mandeep | |
2017-01-04 | Switch monkeypatch fixture to yield syntax | Jeff Widman | |
2017-01-02 | Update AUTHORS, CHANGELOG | Barney Gale | |
2016-12-27 | Merge branch 'master' into merge-master-into-features | Bruno Oliveira | |