test_ok1/_pytest
Floris Bruynooghe faba432996 Improve error message if pytest.raises is used wrongly
If the type is not checked then an incomprehensible error will occur
later.  This enforces the type and raies the same exception/msg as
CPython does in that case.

Docstring unmodified, just re-justified for pep8 compat.
2014-04-14 18:09:10 -04:00
..
assertion Merged in jurko/pytest/break_ExceptionInfo_reference_cycles (pull request #144) 2014-04-03 09:47:41 +02:00
__init__.py bump version to 2.6.0.dev1 because i think we are going for a 2.6.0 release next 2014-04-03 22:27:04 +02:00
_argcomplete.py complete_dotted: fix for #361, filecompleter on dot files had differing behaviour from bash 2013-10-01 16:33:15 +02:00
capture.py correct a capfd fixture docstring typo 2014-04-03 09:59:04 +02:00
config.py Merged in hpk42/pytest-hpk/conftest-clean (pull request #148) 2014-04-03 09:38:47 +02:00
core.py implement a new hook type: hook wrappers using a "yield" to distinguish 2014-03-14 12:49:35 +01:00
doctest.py fix issue275 - allow usefixtures and autouse fixtures 2013-11-22 15:35:20 +01:00
genscript.py remove dupped_stdout logic and related changes, also simplify pytest_runtest_* calls to not use a contextlib with-decorator anymore. 2014-04-01 15:03:17 +02:00
helpconfig.py fix issue486: better reporting and handling of early conftest loading failures 2014-04-02 20:42:41 +02:00
hookspec.py fix issue490: include pytest_load_initial_conftests in documentation 2014-03-25 14:43:58 +01:00
impl - enhance ordering of tests using parametrized resources 2012-08-01 09:07:32 +02:00
junitxml.py remove externally setting and dealing with "item.outerr" from capturing in favor of a direct interface for adding reporting sections to items. 2014-03-14 12:49:34 +01:00
main.py Merged in jurko/pytest/break_ExceptionInfo_reference_cycles (pull request #144) 2014-04-03 09:47:41 +02:00
mark.py remove dupped_stdout logic and related changes, also simplify pytest_runtest_* calls to not use a contextlib with-decorator anymore. 2014-04-01 15:03:17 +02:00
monkeypatch.py fix tests on py32/py33 2013-10-22 11:26:29 +02:00
nose.py Removed unnecessary iteration in nose.pytest_runtest_makereport. 2014-03-14 15:29:42 +01:00
pastebin.py moving from optparse to argparse. Major difficulty is 2013-07-25 15:33:43 +02:00
pdb.py remove non-documented per-conftest capturing option and simplify/refactor all code accordingly. Also make capturing more robust against tests closing FD1/2 and against pdb.set_trace() calls. 2014-04-01 14:32:12 +02:00
pytester.py Make makepyfile accept UTF-8 so a few cookie tests in test_assertrewrite.py 2014-03-28 09:44:18 -07:00
python.py Improve error message if pytest.raises is used wrongly 2014-04-14 18:09:10 -04:00
recwarn.py remove unused imports (using "importchecker" project) 2013-10-02 14:32:40 +02:00
resultlog.py fix issue380 by making --resultlog only rely on longrepr instead 2013-11-19 14:19:29 +01:00
runner.py merge in current default 2014-03-27 13:57:54 +01:00
skipping.py Change XPASS colour to be yellow rather then red 2014-04-12 10:27:12 -04:00
standalonetemplate.py fix flakes issues and make --flakes run part of tox runs 2013-10-12 15:39:22 +02:00
terminal.py remove dupped_stdout logic and related changes, also simplify pytest_runtest_* calls to not use a contextlib with-decorator anymore. 2014-04-01 15:03:17 +02:00
tmpdir.py fix issue354: avoid tmpdir fixture to create too long filenames especially 2013-10-03 14:22:54 +02:00
unittest.py support nose-style ``__test__`` attribute on modules, classes and 2014-04-10 12:46:27 +02:00