test_ok1/testing
Guyzmo accd962c9f Fixed issue shadowing error when missing argument on teardown_method
When the method argument is missing on teardown_method, the traceback is
100% internal to pytest, which with default options get pruned. Then
that traceback is empty, leading to a new exception as a traceback shall
not be empty.

This PR fixes that issue by pushing back the last stack on the
traceback, when the stacktrace is empty after pruning. Then the output
is still pruned, but gives meaningful information with the item where it
failed on the stack.

* fixes issue #1604

Signed-off-by: Guyzmo <guyzmo+github@m0g.net>
2016-06-12 03:45:24 +02:00
..
code [exception handling] Fix case the current working directory (CWD) gets deleted during testing. 2016-06-08 15:18:23 +02:00
cx_freeze Fix install cx_freeze 2015-09-17 23:32:27 -03:00
python Implement a test for showfixtures to show fixtures with same name 2016-05-31 11:47:16 +01:00
acceptance_test.py Always lstrip() keyword expression 2016-04-01 13:10:05 -04:00
test_argcomplete.py Remove code related to support python <= 2.5 2015-12-16 16:16:22 -02:00
test_assertinterpret.py Moved py.code code over to py.test 2016-01-25 23:18:04 -02:00
test_assertion.py fix formatting utf-8 error explanation 2016-02-12 20:28:06 +01:00
test_assertrewrite.py Merge branch 'master' into issue1290-at-operator 2016-02-06 09:31:42 -02:00
test_cache.py LastFailed now creates .cache only when needed. Fixes #1342 2016-02-16 11:42:04 +06:00
test_capture.py Moved py.code code over to py.test 2016-01-25 23:18:04 -02:00
test_collection.py return non-zero exit code if no tests are collected 2015-08-18 07:35:02 -03:00
test_config.py Add test test_absolute_win32_path 2016-04-20 01:27:37 +08:00
test_conftest.py Moved py.code code over to py.test 2016-01-25 23:18:04 -02:00
test_doctest.py Don't mark empty doctest files as skipped, fixes #1578 2016-06-01 19:19:14 +01:00
test_genscript.py setuptools not present issue deprecating gentest 2015-07-25 13:50:40 +02:00
test_helpconfig.py return non-zero exit code if no tests are collected 2015-08-18 07:35:02 -03:00
test_junitxml.py Fixes Issue 1549 2016-05-05 11:29:05 -07:00
test_mark.py allow parametrized nodes to be specified from command line 2016-03-13 23:37:21 +02:00
test_monkeypatch.py pass trough annotated exceptions 2016-01-23 19:31:17 +01:00
test_nose.py Remove code related to support python <= 2.5 2015-12-16 16:16:22 -02:00
test_parseopt.py Remove code related to support python <= 2.5 2015-12-16 16:16:22 -02:00
test_pastebin.py Fix pastebin when captured output contains non-ascii characters 2015-12-03 20:07:18 -02:00
test_pdb.py Moved py.code code over to py.test 2016-01-25 23:18:04 -02:00
test_pluginmanager.py Improve error message when a plugin fails to import 2016-03-08 19:18:13 -03:00
test_pytester.py streamline pytester API majorly: 2015-04-28 11:54:53 +02:00
test_recwarn.py Merge remote-tracking branch 'upstream/master' into merge-master-into-features 2015-12-10 19:41:14 -02:00
test_resultlog.py Moved py.code code over to py.test 2016-01-25 23:18:04 -02:00
test_runner.py Fixed issue shadowing error when missing argument on teardown_method 2016-06-12 03:45:24 +02:00
test_runner_xunit.py ref #322 cleanup all teardown calling to only happen when setup succeeded. 2013-08-02 09:52:40 +02:00
test_session.py return non-zero exit code if no tests are collected 2015-08-18 07:35:02 -03:00
test_skipping.py issue 1496 - xfail with condition keyword 2016-04-19 18:12:37 +01:00
test_terminal.py Display collect progress only when in a terminal 2016-02-20 14:38:30 -02:00
test_tmpdir.py fix flaky get_user fallback tests 2015-09-29 21:00:12 +02:00
test_unittest.py Moved py.code code over to py.test 2016-01-25 23:18:04 -02:00