Commit Graph

35 Commits

Author SHA1 Message Date
hpk 6ba07a82ba [svn r63048] fix windows issues
--HG--
branch : trunk
2009-03-18 18:05:37 +01:00
hpk ee52739b17 [svn r63034] fixing some tests to work across python revisions
--HG--
branch : trunk
2009-03-18 15:35:51 +01:00
hpk e1086ab7f9 [svn r62967] fix mock object
--HG--
branch : trunk
2009-03-16 13:42:20 +01:00
afa 4be27f5078 [svn r62835] Add ANSI colouring to the Win32 console.
This gives a nice display for py.test,
and during pypy translation.

the "markup" function should not be used any more.

--HG--
branch : trunk
2009-03-11 02:40:08 +01:00
hpk d47ae0dc8d [svn r62287] By default cut traceback such that py lib code does not appear
test tracebacks.

--HG--
branch : trunk
2009-03-01 12:24:52 +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
fijal c609974f04 [svn r59871] yet-another-except when trying to get source
--HG--
branch : trunk
2008-11-11 20:11:14 +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
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 94f1abbbb0 [svn r58225] remove outdated comment.
--HG--
branch : trunk
2008-09-18 18:12:18 +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 573daf741b [svn r57979] fix 2.3 compat
--HG--
branch : trunk
2008-09-08 18:01:11 +02:00
pedronis 2cb1b42b38 [svn r57977] (iko, pedronis)
- fixing a bug with test about the case when a multi line source cannot be retrieved
  ( test_repr_many_line_source_not_existing in test_excinfo.py )

- trying to make py test behave more like in the past in the face of fullsource errors, needed by pypy app test
  infrastructure
  ( test_repr_source_failing_fullsource in test_excinfo.py )

--HG--
branch : trunk
2008-09-08 17:51:38 +02:00
arigo b52c58159f [svn r57790] Reintroduce the --tb option. Add test.
--HG--
branch : trunk
2008-09-03 10:15:44 +02:00
hpk 14cfc8d342 [svn r57757] adapt output checking test for slightly different output
--HG--
branch : trunk
2008-09-02 14:45:50 +02:00
hpk 5f666c99b7 [svn r57535] extending hacks for a safe representation of objects
to also work for broken __repr__s on newstyle classes.

--HG--
branch : trunk
2008-08-21 11:48:46 +02:00
hpk a20731b111 [svn r57440] various fixes for python2.6
--HG--
branch : trunk
2008-08-18 19:33:31 +02:00
hpk abc8cf09aa [svn r57321] merging the event branch:
* moving in test, misc, code, io directories and
  py/__init__.py
* py/bin/_find.py does not print to stderr anymore
* a few fixes to conftest files in other dirs
some more fixes and adjustments pending

--HG--
branch : trunk
2008-08-16 17:26:59 +02:00
hpk 7428eadf7d [svn r57320] remove test, misc, doc, io, and code directories
that are to come from the event branch with the next commit.

--HG--
branch : trunk
2008-08-16 17:10:17 +02:00
hpk dcfee7cf9f [svn r56619] sic
--HG--
branch : trunk
2008-07-17 15:22:36 +02:00
hpk 8cbfaa1a4f [svn r56618] skip this test for a more explicit reason
--HG--
branch : trunk
2008-07-17 15:21:23 +02:00
fijal 37073e11f9 [svn r50755] Port from reporter-merge branch.
--HG--
branch : trunk
2008-01-18 17:35:33 +01:00
fijal 31fe9347e5 [svn r45535] Avoid hacks when creating exception name
--HG--
branch : trunk
2007-08-07 18:19:35 +02:00
fijal 5f62c21272 [svn r45484] A comment why this will not work on different python version
--HG--
branch : trunk
2007-08-04 16:24:56 +02:00
fijal a916b74c71 [svn r45483] Fix 2.5 issue when str(excinfo.type) produced different thing than expected
--HG--
branch : trunk
2007-08-04 16:24:37 +02:00
fijal b8f6596760 [svn r41224] Added failing test, which I would suppose to pass
--HG--
branch : trunk
2007-03-24 10:20:25 +01:00
guido 7852ead1fe [svn r37912] Made some small changes to the initpkg mechanism so docstrings are, if
provided in the exportdefs, copied to the namespaces (from whereever they
come), and added docstrings to all exposed namespaces (except for _thread for
now).

--HG--
branch : trunk
2007-02-04 15:27:10 +01:00
guido 58eace43f9 [svn r37674] Added document 'code.txt' that describes py.code, added docstrings to py.code
public items.

--HG--
branch : trunk
2007-01-31 16:29:18 +01:00
guido 9539e49743 [svn r37425] Fixed Code.__ne__() (wrong function sig, missing 'other' argument).
--HG--
branch : trunk
2007-01-27 13:29:39 +01:00
fijal 6a8153ae3b [svn r37346] Add __ne__
--HG--
branch : trunk
2007-01-25 18:02:32 +01:00
hpk 7cf9824680 [svn r37278] move files from branch to trunk (and thus complete
the merge of the config branch into the trunk)

--HG--
branch : trunk
2007-01-24 17:46:46 +01:00
hpk 5992a8ef21 [svn r37264] create the new development trunk
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00