test_ok1/testing
Floris Bruynooghe 825ea9bfa1 Fix assertrepr for mojibake
If the compared text was in bytes and not actually valid text
(i.e. could not be encoded to text/unicode using the default encoding)
then the assertrepr would fail with an EncodingError.  This ensures
that the internal string is always valid unicode, converting any bytes
safely to valid unicode.  This is done using repr() which then needs
post-processing to fix the encompassing quotes and un-escape newlines.

This fixes issue 429.
2014-01-29 00:42:58 +00:00
..
python simplify loop which turns direct funcarg parametrization to indirect 2014-01-27 12:53:44 +01:00
acceptance_test.py merge from default 2014-01-25 10:42:21 +01:00
conftest.py simplify basedir isolation 2013-11-21 14:54:46 +01:00
test_argcomplete.py ignore argcomplete on darwin 2013-11-12 13:52:16 +01:00
test_assertinterpret.py replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
test_assertion.py Fix assertrepr for mojibake 2014-01-29 00:42:58 +00:00
test_assertrewrite.py fixed issue428: Skip test for packages without __init__.py on Python 2 2014-01-22 14:32:22 +01:00
test_capture.py remove "mixed" capturing mode which is not used by pytest 2014-01-25 19:56:27 +01:00
test_collection.py fix flakes issues and make --flakes run part of tox runs 2013-10-12 15:39:22 +02:00
test_config.py fix comment typos 2014-01-18 12:39:16 +01:00
test_conftest.py remove an old duplicate marker and use recent pytest mechanism for parametrization 2013-11-21 14:40:14 +01:00
test_core.py replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
test_doctest.py fix issue275 - allow usefixtures and autouse fixtures 2013-11-22 15:35:20 +01:00
test_genscript.py fix py32 failures and remove random print from commit accident 2013-12-16 07:19:49 +01:00
test_helpconfig.py replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
test_junitxml.py Still print this, but use py2/py3 compat syntax 2013-12-16 10:51:04 +00:00
test_mark.py add test: '--markers' listing info from plugins in current folder 2014-01-22 14:16:39 +01:00
test_monkeypatch.py support python32 2013-11-12 13:48:17 +01:00
test_nose.py replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
test_parseopt.py fix flakes issues and make --flakes run part of tox runs 2013-10-12 15:39:22 +02:00
test_pastebin.py fix flakes issues and make --flakes run part of tox runs 2013-10-12 15:39:22 +02:00
test_pdb.py fix pexpect-3.0 compatibility for pytest's own tests. 2013-11-19 10:10:27 +01:00
test_pytester.py replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
test_recwarn.py replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
test_resultlog.py fix issue380 by making --resultlog only rely on longrepr instead 2013-11-19 14:19:29 +01:00
test_runner.py setupstate.addfinalizer(): fix docstring and remove related unit test not covering functional reality 2014-01-26 12:44:21 +01: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 replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
test_skipping.py fix flakes issues and make --flakes run part of tox runs 2013-10-12 15:39:22 +02:00
test_terminal.py Include py version in the terminal output 2014-01-22 11:27:15 +01:00
test_tmpdir.py replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
test_unittest.py remove an old duplicate marker and use recent pytest mechanism for parametrization 2013-11-21 14:40:14 +01:00