hpk
6863f54951
[svn r60277] triggered by https://codespeak.net/issue/py-dev/issue66
...
* check for 1.5 messages for non-versioned resources
* modify non-recursive commit test to account for subversion
behaviour changes (non-recursive commit on directory
will now commit modified files in it, but will not recurse
or add subdirs)
--HG--
branch : trunk
2008-12-02 11:08:51 +01:00
pedronis
6ec13a2b9c
[svn r60142] - experimental support to let decorators used on tests specify a saner order by attaching the original function (we have been
...
using something like this for quite a while at OE)
- make the explicit names test more paranoid
--HG--
branch : trunk
2008-11-25 20:15:01 +01:00
pedronis
1a150e9050
[svn r60141] refactor things such that all fallbacks to inspect.get/findsource happen in helpers in source.py
...
--HG--
branch : trunk
2008-11-25 19:34:47 +01:00
pedronis
5c8b04dacb
[svn r60140] simplification, Source will invoke inspect.getsource on its own
...
--HG--
branch : trunk
2008-11-25 18:32:05 +01:00
pedronis
3ec0a76adb
[svn r60139] some minimal testing for Code.source/fullsource
...
--HG--
branch : trunk
2008-11-25 18:28:40 +01:00
pedronis
d491d68d51
[svn r60137] support for explicitly named generative tests with tests and doc addition.
...
--HG--
branch : trunk
2008-11-25 17:10:16 +01:00
fijal
c609974f04
[svn r59871] yet-another-except when trying to get source
...
--HG--
branch : trunk
2008-11-11 20:11:14 +01:00
pedronis
c52d8bcdde
[svn r59615] given the format and the fact that external timeout logic may kill a py.test emitting a resultlog switching to line buffering
...
seems a good idea
--HG--
branch : trunk
2008-11-01 11:01:44 +01:00
arigo
03f51e5edb
[svn r59464] Fix for a corner case: when the arguments are 'del'-eted from
...
the local scope. This can also occur when using Psyco because
f_locals is then empty.
--HG--
branch : trunk
2008-10-28 10:02:19 +01:00
arigo
5425dba4e5
[svn r59268] An improvement to pdb (which I should also propose as a CPython patch):
...
in post_portem, the "up" command isn't normally able to walk up past
generator frames. This fixes it.
--HG--
branch : trunk
2008-10-20 15:45:10 +02:00
fijal
4e3d14162d
[svn r58888] Catch all possible find_source errors
...
--HG--
branch : trunk
2008-10-10 11:59:31 +02:00
hpk
8650c801a2
[svn r58775] only check for Recursion if we have a RuntimeError
...
--HG--
branch : trunk
2008-10-07 17:44:56 +02:00
hpk
c338420976
[svn r58699] show traceback before jumping into pdb
...
--HG--
branch : trunk
2008-10-07 11:26:56 +02:00
hpk
4b1c2eec3b
[svn r58576] * fix test to not rely on time.time() resolution
...
* strike some superflous __init__ code
--HG--
branch : trunk
2008-10-02 18:19:04 +02:00
hpk
af86caf712
[svn r58517] clarify/better english for the cross-python version namespaces
...
--HG--
branch : trunk
2008-10-01 11:24:24 +02:00
hpk
cf833b023c
[svn r58516] fix typo
...
--HG--
branch : trunk
2008-10-01 11:11:29 +02:00
hpk
a80bfae0a1
[svn r58386] adding info for debian and rpm systems
...
--HG--
branch : trunk
2008-09-23 16:42:27 +02:00
hpk
a55332091d
[svn r58385] * move cross-platform process kill functionality and move it to
...
py.process.kill(pid)
* simplify test_auth.py
* use new functionality from some tests
--HG--
branch : trunk
2008-09-23 16:28:13 +02:00
hpk
5b21c540b6
[svn r58384] adding a test for unimplemented recording feature
...
--HG--
branch : trunk
2008-09-23 16:25:16 +02:00
hpk
0974aa784a
[svn r58375] some updates on the filesystem front
...
--HG--
branch : trunk
2008-09-23 12:41:22 +02:00
hpk
863fff7042
[svn r58360] factor import of xml into one method to deal more gracefully
...
with implementations that don't have expat.
--HG--
branch : trunk
2008-09-23 08:29:17 +02:00
pedronis
ed231f4b1b
[svn r58350] use optparse
...
--HG--
branch : trunk
2008-09-22 22:34:40 +02:00
pedronis
aeca93f0b3
[svn r58340] this seems to need to be this way, otherwise a py.lookup from PATH will be used or a failure will occur instead
...
--HG--
branch : trunk
2008-09-22 21:30:13 +02:00
hpk
e63da23050
[svn r58319] be more grateful on tests that disappear during a looponfailing session.
...
--HG--
branch : trunk
2008-09-22 15:15:47 +02:00
pedronis
8b3fe55158
[svn r58316] (iko, pedronis)
...
move the FileLogSession into the py.lib proper, activated with the option --resultlog (suggestions
for a better name are welcome)
- added its tests
- plus a functional/integration test in test_config in the style of the one for eventlog
--HG--
branch : trunk
2008-09-22 14:34:54 +02:00
hpk
ef5709d30b
[svn r58311] remove dead code.
...
--HG--
branch : trunk
2008-09-21 19:51:44 +02:00
hpk
6cdd88eef6
[svn r58309] fix a test, add a comment (pysvnwcrevert cannot be invoked generically)
...
--HG--
branch : trunk
2008-09-21 17:24:47 +02:00
hpk
cc10d84088
[svn r58308] * de-generalize conditional skips and only care
...
nicely for common tedious causes of skipping:
import a module and checking it has a certain
version. usage example:
docutils = py.test.importorskip(docutils, minversion="0.4")
* used new helper and cleanup skipping logic in py lib
--HG--
branch : trunk
2008-09-21 17:15:28 +02:00
hpk
fa5c975c00
[svn r58300] adding option to specify namespace for ifraises execution.
...
--HG--
branch : trunk
2008-09-21 15:43:01 +02:00
hpk
13c7fb6709
[svn r58298] move and update TODO file
...
--HG--
branch : trunk
2008-09-21 14:51:32 +02:00
hpk
e77fab82ee
[svn r58297] add a new way of conditionally skipping a test:
...
py.test.skip(ifraises="...")
see more info in the added doc.
also remove a redundant raises test and
cleanup raises code a bit.
--HG--
branch : trunk
2008-09-21 14:50:56 +02:00
hpk
cdb8fa1abe
[svn r58288] update TODOs, docstring
...
--HG--
branch : trunk
2008-09-21 10:17:11 +02:00
hpk
94f1abbbb0
[svn r58225] remove outdated comment.
...
--HG--
branch : trunk
2008-09-18 18:12:18 +02:00
hpk
cf007ce7c5
[svn r58224] remove redundant py import, thanks getxsick
...
--HG--
branch : trunk
2008-09-18 17:41:19 +02:00
pedronis
fa5d4dfe92
[svn r58211] allow to specify filenames that need to be preserved
...
--HG--
branch : trunk
2008-09-17 22:29:35 +02:00
pedronis
33b0390ee6
[svn r58190] adding arigo/hacks/svnwcrevert as a py.svnwcrevert script on py lib trunk
...
--HG--
branch : trunk
2008-09-17 10:50:04 +02:00
arigo
7afc30d130
[svn r58095] (pedronis, arigo)
...
KeyboardInterrupt handling:
* in --verbose mode, print a detailed traceback at the end of
the report.
* in non-verbose mode, only print the file name and line number
where the KeyboardInterrupt occurred. That's the minimal
amount of information that is of any help at all to locate
an infinite loop somewhere.
--HG--
branch : trunk
2008-09-12 22:35:18 +02:00
arigo
f12b795147
[svn r58094] (pedronis, arigo)
...
Partial revert: don't print traceback failures after
InternalExceptions.
--HG--
branch : trunk
2008-09-12 22:04:59 +02:00
arigo
2670dac0d2
[svn r58093] (pedronis, arigo)
...
Show tracebacks for the failures even when py.test is
interrupted by Ctrl-C.
--HG--
branch : trunk
2008-09-12 21:54:41 +02:00
arigo
faec0dfa0b
[svn r58092] Ensure that the path is printed before the 1st test of
...
a module starts running (even when -v is not specified).
--HG--
branch : trunk
2008-09-12 21:41:31 +02:00
arigo
a9c4c9876c
[svn r58091] Minor refactoring of a few methods. The point is to add a couple of
...
hooks for my conftest. This is a bit hard to test, and I don't even
know if it's worth a comment, as I'm ready to fix my conftest when
needed.
--HG--
branch : trunk
2008-09-12 21:31:31 +02:00
arigo
2742204d67
[svn r58090] Add a hack with a comment that explains why I think it is a hack.
...
I fear I don't care enough about --tb=short to do the "proper" fix
as documented in the comment.
--HG--
branch : trunk
2008-09-12 21:16:34 +02:00
hpk
6842e5a769
[svn r58035] allow for passing in ssh_config files, deprecat "identity" argument
...
--HG--
branch : trunk
2008-09-10 11:48:44 +02:00
hpk
37eea51f59
[svn r58034] introduce APIWARN helper
...
allow for subscriptions to produced warnings
use it from some places
--HG--
branch : trunk
2008-09-10 11:47:37 +02:00
hpk
d2d5bbd918
[svn r58030] check for different output according to cpython version
...
--HG--
branch : trunk
2008-09-10 00:08:21 +02:00
hpk
3febdb049d
[svn r58028] reverting 58009 - webcheck is actually used although not directly tested.
...
--HG--
branch : trunk
2008-09-09 23:53:38 +02:00
hpk
0d955758ba
[svn r58027] skip specific test instead of all pexpect ones.
...
--HG--
branch : trunk
2008-09-09 23:40:21 +02:00
hpk
af33fb16f7
[svn r58026] avoiding an issue with older pexpect versions
...
--HG--
branch : trunk
2008-09-09 23:36:30 +02:00
hpk
7dfc85b046
[svn r58020] streamline pdb pexpect test
...
--HG--
branch : trunk
2008-09-09 20:18:22 +02:00
hpk
c7e867d969
[svn r58017] fixing two more glitches
...
--HG--
branch : trunk
2008-09-09 19:47:39 +02:00