test_ok2/_pytest
Floris Bruynooghe 7f554f50e3 Fix collapse false to look at unescaped braces only
Sometimes the repr of an object can contain the "\n{" sequence which is
used as a formatting language, so they are escaped to "\\n{".  But the
collapse-false code needs to look for the real "\n{" token instead of
simply "{" as otherwise it may get unbalanced braces from the object's
repr (sometimes caused by the collapsing of long reprs by saferepr).

Fixes issue #731.

--HG--
branch : pytest-2.7
2015-04-30 02:31:12 +01:00
..
assertion Fix collapse false to look at unescaped braces only 2015-04-30 02:31:12 +01:00
__init__.py - avoid setting of versions and targets in conf.py and Makefile 2015-04-02 10:38:25 +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 remove all occurences of "__multicall__" on hook impls in pytest/*. 2014-10-08 20:23:40 +02:00
config.py fix issue616 - conftest visibility fixes. This is achieved by 2015-02-26 21:56:44 +01:00
core.py fixed regression to 2.6.4 which surfaced e.g. in lost stdout capture printing 2015-04-17 11:47:29 +02:00
doctest.py Add option to ignore import errors in doctests 2015-02-08 01:25:23 -05:00
genscript.py strike python2.5 from test code cc @flub 2014-09-05 09:50:40 +02:00
helpconfig.py remove all occurences of "__multicall__" on hook impls in pytest/*. 2014-10-08 20:23:40 +02:00
hookspec.py optimize argument slicing when calling plugin hooks 2014-10-01 14:55:54 +02:00
impl - enhance ordering of tests using parametrized resources 2012-08-01 09:07:32 +02:00
junitxml.py Failure message in junit xml report now are more informative 2015-01-20 01:45:26 +03:00
main.py fix issue616 - conftest visibility fixes. This is achieved by 2015-02-26 21:56:44 +01:00
mark.py fix pep257 2015-03-23 21:28:29 +01:00
monkeypatch.py Cleaning up the docstrings in monkeypatch.py 2015-01-08 17:15:22 -08:00
nose.py remove all occurences of "__multicall__" on hook impls in pytest/*. 2014-10-08 20:23:40 +02:00
pastebin.py Attempting to patch terminal only if terminalreporter is available 2015-01-19 19:20:01 -02:00
pdb.py Introduce pytest_enter_pdb hook 2014-09-18 14:58:42 +02:00
pytester.py accomodate Floris' comments. (The reason was i just reinstanted the old code :) 2015-04-22 21:04:36 +02:00
python.py Merged in getsourcelines-error-issue-553-pytest2.7 (pull request #273) 2015-04-17 22:31:55 +02:00
recwarn.py Removing py.std usage from _pytest 2014-07-31 19:13:40 -03:00
resultlog.py fix issue380 by making --resultlog only rely on longrepr instead 2013-11-19 14:19:29 +01:00
runner.py allow postmortem debugging on failed test 2015-03-21 09:26:35 +01:00
skipping.py fix issue616 - conftest visibility fixes. This is achieved by 2015-02-26 21:56:44 +01:00
standalonetemplate.py Added explanation for the binary blob in runtests.py 2014-10-24 13:04:20 +02:00
terminal.py fix issue616 - conftest visibility fixes. This is achieved by 2015-02-26 21:56:44 +01:00
tmpdir.py Removing py.std usage from _pytest 2014-07-31 19:13:40 -03:00
unittest.py remove all occurences of "__multicall__" on hook impls in pytest/*. 2014-10-08 20:23:40 +02:00