Ronny Pfannschmidt
0e3779b14f
strip bound wrappers of class setup/tardown, fixes #140
...
on python3 im_func is replaced by __func__
2012-05-06 23:03:16 +02:00
Benjamin Peterson
fe1c35f8d0
prepend the assertion rewriting hook, so as not to break when builtin import is explicitly on sys.meta_path
2012-05-05 17:31:05 -04:00
Benjamin Peterson
b4588f1798
escape the % operator in string formatting
2012-05-03 13:49:30 -04:00
Benjamin Peterson
64c7c1be15
use non-hacky dynamic package import method
2012-04-27 17:51:50 -04:00
Benjamin Peterson
1c817aa7bd
don't use octal syntax, since its not py2/py3 compatible
2012-04-18 11:26:44 -04:00
Ronny Pfannschmidt
d02eaa8881
fix a import strange loop that affects pypy test appsupport on python2.5
2012-04-13 12:41:02 +02:00
holger krekel
b92176024c
write down some thoughts on parametrization - still not completely clear what the next stage should look like ...
2012-03-31 10:01:03 -07:00
holger krekel
1c746e0819
merge
2012-03-31 10:12:11 -07:00
Ronny Pfannschmidt
166aae4418
word change in the docs fixes #130
2012-03-22 08:26:37 +01:00
holger krekel
58933aac2a
try to better handle @unittest.expectedFailure decorator
2012-03-19 22:53:52 -07:00
Benjamin Peterson
45aa4e5229
remove unused import
2012-03-19 20:04:55 -04:00
holger krekel
e643e99586
bump version number to dev version
2012-03-19 08:53:08 -07:00
holger krekel
9f6d6f630d
walk through issues
2012-03-19 06:56:35 -07:00
Ronny Pfannschmidt
812ba87f37
add acomment so highlighting won\'t fail
2012-03-15 15:22:13 +01:00
Ronny Pfannschmidt
2b0887fa5f
document integration with setuptools/distribute test command and tests_require
2012-03-15 15:15:21 +01:00
Ronny Pfannschmidt
ee8d2f9950
junitxml: use a exclusive match on the legal ranges of xml for binary escaping, fixes issue 126
2012-03-09 13:12:18 +01:00
holger krekel
51d29cf4c6
mention 2.2.3 in 2.2.2 release announce
2012-02-05 23:54:20 -05:00
holger krekel
e378496b24
Added tag 2.2.3 for changeset 3c11c5c9776f
2012-02-05 23:39:00 -05:00
holger krekel
4d21274a29
release 2.2.3 to fix package contents (2.2.2 contained too many files)
2012-02-05 23:38:31 -05:00
holger krekel
705442cf4e
Added tag 2.2.2 for changeset 92b916483c1e
2012-02-05 18:37:31 -05:00
holger krekel
87b4cb283f
regen docs / examples for 2.2.2
2012-02-05 18:33:04 -05:00
holger krekel
83505b790d
preparing release 2.2.2
2012-02-05 17:32:01 -05:00
Ronny Pfannschmidt
2ca6d9f039
no longer check if indirect metafunc.parametrize params are funcarg names
2012-02-03 16:54:00 +01:00
Ronny Pfannschmidt
87b8769680
readd CHANGELOG, since i accidentially killed it with mq
2012-02-03 17:11:42 +01:00
Ronny Pfannschmidt
78e7d7aed0
more quit collectonly shows only files and the number of tests in them
2012-02-03 16:56:06 +01:00
Ronny Pfannschmidt
68b353be0d
create session.items before preparse, so collectonly wont break on preparse fail, fixes #115
2012-02-03 16:33:32 +01:00
holger krekel
a756dc8106
fix issue118 - typo
2012-02-02 06:24:12 -05:00
holger krekel
604e27658c
add CHANGELOG for last commit
2012-02-01 09:06:38 -05:00
holger krekel
dfa273dc25
fix issue177 - actually perform session scope finalization
2012-02-01 08:52:34 -05:00
Ronny Pfannschmidt
5263656df6
kwarg support for reports, so xdist can deserialized extended reports
2012-01-20 19:50:45 +01:00
holger krekel
d88fe07377
fix link to pdf from contents page
2012-01-19 20:53:21 +01:00
holger krekel
2e23057804
remove nonsennse part of commit related to "mp" shortcut.
...
I wonder if introducing "mp" as a shortcut to monkeypatch
is a good idea, actually :)
2012-01-06 20:40:14 +00:00
holger krekel
303f49a5ad
bump version, mention "mp" also in the docs and changelog
2012-01-06 20:37:18 +00:00
Ralf Schmitt
adbbd164ff
update documentation for the new monkeypatch.chdir method
2012-01-06 15:25:57 +01:00
Ralf Schmitt
93424b0f9c
add monkeypatch.chdir method
2012-01-04 12:43:19 +01:00
Ralf Schmitt
fb7706d4c7
make sure calling undo a second time doesn't change sys.path
2012-01-04 12:42:23 +01:00
Ralf Schmitt
4131923c0f
test that a second undo doesn't change sys.path
...
also use a 'mp' funcarg that restores sys.path and the current working
directory in preparation for the monkeypatch.chdir method.
2012-01-04 12:40:57 +01:00
holger krekel
7b95af2400
only run test_unittest.py for the twisted/trial config
2011-12-28 17:43:56 +00:00
holger krekel
eb6481c663
fix trial test failure and simplify todo->xfail conversion
2011-12-28 17:35:38 +00:00
holger krekel
c126cac98d
fix unittest/marker integration
2011-12-28 16:47:08 +00:00
holger krekel
e3a8b1e062
bump version
2011-12-28 15:49:35 +00:00
holger krekel
fa6d5bd15b
work around an apparent python2.4/python2.5 bug with subprocess.Popen,
...
causing jenkins failures. Apparently "os.environ.popitem(name, None)"
is not the same as::
try:
del os.environ[name]
except KeyError:
pass
2011-12-28 15:49:13 +00:00
holger krekel
f2c8a837af
fix issue106: allow parametrize to be applied per-class/per-module
2011-12-28 15:47:19 +00:00
holger krekel
ccc1b21ebd
internally keep multiple applications of the same markers as separate
...
entities such that the new iter() API can iterate over pytest.mark
function attributes, getting all such applications. See added example
for more info.
2011-12-28 15:47:18 +00:00
holger krekel
85f2a78005
fix wrongly committed line
2011-12-28 07:57:19 +00:00
holger krekel
e21202b730
fix Jenkins test failures
2011-12-27 21:03:15 +00:00
holger krekel
dc0535f7d5
fix typo, thanks jurko
2011-12-20 14:12:12 +00:00
holger krekel
f2791988f9
fix issue102: report more useful errors and hints for when a
...
test directory was renamed and some pyc/__pycache__ remain
2011-12-20 12:20:59 +00:00
Benjamin Peterson
8e83af1c33
fix spacing
2011-12-19 14:23:39 -05:00
Benjamin Peterson
268c051eba
propogate current PYTHONPATH
2011-12-19 12:02:07 -05:00