test_ok2/_pytest
holger krekel d81b703f10 avoid one surprising case of marker malfunction/confusion::
@pytest.mark.some(lambda arg: ...)
    def test_function():

would not work correctly because pytest assumes @pytest.mark.some
gets a function to be decorated already.  We now at least detect if this
arg is an lambda and thus the example will work.  Thanks Alex Gaynor
for bringing it up.
2013-10-11 14:36:54 +02:00
..
assertion Implement suggestions by HPK 2013-10-10 17:39:37 -04:00
__init__.py bump version to 2.3.3.dev1 2013-10-05 21:39:16 +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 avoid "IOError: Bad Filedescriptor" on pytest shutdown by not closing 2013-10-02 12:39:01 +02:00
config.py Allow unicode strings in parser.add_argument() 2013-10-01 13:20:20 +01:00
core.py add pluginmanager.do_configure(config) as a link to 2013-10-04 11:36:45 +02:00
doctest.py zero to many doctests from module instead of one 2013-05-17 12:18:22 -03:00
genscript.py make genscript provide information as to compatibility 2013-07-26 08:59:31 +02:00
helpconfig.py shift pytest_configure/unconfigure/addoption/namespace hook calling to config object. 2013-09-30 13:14:14 +02:00
hookspec.py fix issue358 -- introduce new pytest_load_initial_conftests hook and make capturing initialization use it, relying on a new (somewhat internal) parser.parse_known_args() method. 2013-09-30 13:14:16 +02:00
impl - enhance ordering of tests using parametrized resources 2012-08-01 09:07:32 +02:00
junitxml.py fix issue355: junitxml generates name="pytest" tag. 2013-09-26 08:45:50 +02:00
main.py more fixes regarding marking, in particular plugins should use add_marker/get_marker now. 2013-10-03 15:43:56 +02:00
mark.py avoid one surprising case of marker malfunction/confusion:: 2013-10-11 14:36:54 +02:00
monkeypatch.py fix python2.5 issues 2013-10-03 18:25:03 +02:00
nose.py remove unused imports (using "importchecker" project) 2013-10-02 14:32:40 +02:00
pastebin.py moving from optparse to argparse. Major difficulty is 2013-07-25 15:33:43 +02:00
pdb.py make "import pdb ; pdb.set_trace()" work natively wrt capturing (no "-s" needed 2013-09-06 15:29:00 +02:00
pytester.py remove unused imports (using "importchecker" project) 2013-10-02 14:32:40 +02:00
python.py fix regression reported by dstufft: regression when a 1-tuple ("arg",) is used 2013-10-02 08:08:26 +02:00
recwarn.py remove unused imports (using "importchecker" project) 2013-10-02 14:32:40 +02:00
resultlog.py changes to addoption() for hyphenated long-options 2013-08-01 16:49:26 +02:00
runner.py - fix issue181: --pdb now also works on collect errors. This was 2013-09-06 11:56:04 +02:00
skipping.py make "--runxfail" turn imperative pytest.xfail calls into no ops 2013-10-09 22:55:20 +02:00
standalonetemplate.py remove unused imports (using "importchecker" project) 2013-10-02 14:32:40 +02:00
terminal.py remove fd-fixing attempt at startup of pytest. It's 2013-10-03 18:53:40 +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 remove unused imports (using "importchecker" project) 2013-10-02 14:32:40 +02:00