Commit Graph

654 Commits

Author SHA1 Message Date
hpk 671f6a4660 [svn r55053] also allow using pdb in failures of the collection process
--HG--
branch : trunk
2008-05-21 11:54:33 +02:00
fijal 4fce886def [svn r54623] A test for 54622
Fix for running tests

--HG--
branch : trunk
2008-05-10 15:55:22 +02:00
fijal 6e99225320 [svn r54622] "How this could ever worked..."
--HG--
branch : trunk
2008-05-10 15:39:39 +02:00
fijal a700c261ef [svn r52707] Allow some mocking.
--HG--
branch : trunk
2008-03-18 21:57:43 +01:00
guido 26ba6d9034 [svn r52483] Skipping apigen test again.
--HG--
branch : trunk
2008-03-14 12:27:21 +01:00
guido 41cd138f2e [svn r52481] Python2.3 has no 'sorted()' yet.
--HG--
branch : trunk
2008-03-14 12:08:21 +01:00
guido 14bdc16dd5 [svn r52001] Removed (outdated, and perhaps a bit too verbose) document about svn auth, in
favour of a short note and code example in the existing path.txt doc in docs.

--HG--
branch : trunk
2008-03-01 15:14:11 +01:00
guido 17530e8ccd [svn r52000] Merging the 'guido-auth-svn' branch back into the trunk. This means there's
a new class py.path.SvnAuth of which instances store user credentials and
auth config, and can be passed to py.path.svnurl and py.path.svnwc objects
to control SVN authentication behaviour.

--HG--
branch : trunk
2008-03-01 14:43:33 +01:00
hpk f3f84fa36c [svn r51329] rename special __package__ to __pkg__ because python 2.6 needs the former
(thanks to Ralf Schmitt)

--HG--
branch : trunk
2008-02-08 09:43:05 +01:00
fijal 37d357ff4c [svn r51292] Just another except, in order to represent source when it's not there.
--HG--
branch : trunk
2008-02-05 15:35:49 +01:00
lamby ba91810a17 [svn r51285] Fix _docgen.py documentation building.
--HG--
branch : trunk
2008-02-05 12:55:00 +01:00
hpk 24e2d79924 [svn r51132] a todo/note on skip's and speed (inspired by exarkun on #pypy)
--HG--
branch : trunk
2008-01-30 16:25:40 +01:00
hpk 6db9a3bd2e [svn r51087] add a note that skip-reporting is broken
after the branch-merge

--HG--
branch : trunk
2008-01-27 22:33:30 +01:00
hpk 194f5be88f [svn r51077] bump version number
--HG--
branch : trunk
2008-01-27 12:55:27 +01:00
hpk e03e71c96f [svn r51058] fix ReST
--HG--
branch : trunk
2008-01-26 12:45:03 +01:00
hpk 923c85b701 [svn r51057] review, refactor and write up for some 1.0 related TODOs
--HG--
branch : trunk
2008-01-26 12:33:32 +01:00
hpk f7e1bbeb24 [svn r51056] fijal: don't use py.test.skip directly in a conftest.py -
this will get called very early during import time.
This lead to windows not executing any py/ tests at all.

--HG--
branch : trunk
2008-01-26 11:58:23 +01:00
hpk f2b0bd10e6 [svn r51034] merging in fijal's reporter-merge branch into the trunk,
still needs refactoring as far as i am concernced.

--HG--
branch : trunk
2008-01-25 16:54:04 +01:00
hpk 192a890435 [svn r51033] merging of svn+ssh://codespeak.net/svn/py/branch/reporter-merge/py/test/session.py
revisions 47584 to 51032:

    ------------------------------------------------------------------------
    r51030 | hpk | 2008-01-25 14:30:54 +0100 (Fri, 25 Jan 2008) | 5 lines

    fixing test and restoring the functionality
    that session.main returns a list of failures
    (py.test --exec=python should work again)


    ------------------------------------------------------------------------
    r50984 | hpk | 2008-01-24 18:27:06 +0100 (Thu, 24 Jan 2008) | 1 line

    avoid reporting hooks on session object
    ------------------------------------------------------------------------
    r49391 | fijal | 2007-12-05 17:33:05 +0100 (Wed, 05 Dec 2007) | 2 lines

    Don't cache results.

    ------------------------------------------------------------------------
    r48698 | fijal | 2007-11-15 01:31:42 +0100 (Thu, 15 Nov 2007) | 2 lines

    Uh. 2.4 compatibility

    ------------------------------------------------------------------------
    r48318 | fijal | 2007-11-05 16:47:34 +0100 (Mon, 05 Nov 2007) | 3 lines

    Seems that --pdb don't need to imply -s and worked out of the box.
    I've got no idea how to test it though :-/

    ------------------------------------------------------------------------
    r48140 | fijal | 2007-10-28 19:43:21 +0100 (Sun, 28 Oct 2007) | 2 lines

    Reintroduce boxing

    ------------------------------------------------------------------------
    r48138 | fijal | 2007-10-28 19:22:42 +0100 (Sun, 28 Oct 2007) | 2 lines

    Share more code.

    ------------------------------------------------------------------------
    r48130 | fijal | 2007-10-28 14:58:42 +0100 (Sun, 28 Oct 2007) | 2 lines

    Add --collectonly handling, new style, logic separated

    ------------------------------------------------------------------------
    r48129 | fijal | 2007-10-28 14:41:06 +0100 (Sun, 28 Oct 2007) | 2 lines

    Refactor LocalReporter not to rely on hosts being there

    ------------------------------------------------------------------------
    r48128 | fijal | 2007-10-28 14:24:41 +0100 (Sun, 28 Oct 2007) | 2 lines

    Small regactoring for simple usage of default reporter class

    ------------------------------------------------------------------------
    r48127 | fijal | 2007-10-28 12:56:41 +0100 (Sun, 28 Oct 2007) | 2 lines

    Remove terminal session as it's no longer needed

    ------------------------------------------------------------------------
    r48126 | fijal | 2007-10-28 12:48:35 +0100 (Sun, 28 Oct 2007) | 2 lines

    Some real test for itemgen

    ------------------------------------------------------------------------
    r47678 | fijal | 2007-10-21 18:43:54 +0200 (Sun, 21 Oct 2007) | 2 lines

    Make even less things working.

    ------------------------------------------------------------------------
    r47667 | fijal | 2007-10-21 13:00:20 +0200 (Sun, 21 Oct 2007) | 4 lines

    Huge refactoring, the target is unification of session reporters and
    eventually sessions. Right now there is about 200 lines of code cut,
    but there is still some code to die and also some features missing :)

    ------------------------------------------------------------------------
    r47660 | fijal | 2007-10-21 00:02:04 +0200 (Sun, 21 Oct 2007) | 2 lines

    Create a new branch for reporter merge

    ------------------------------------------------------------------------

--HG--
branch : trunk
2008-01-25 16:51:46 +01:00
cfbolz b7c0d84ee3 [svn r51029] make sure the artificial GeneratorExit claims to come from the exceptions
module

--HG--
branch : trunk
2008-01-25 13:46:31 +01:00
fijal 37073e11f9 [svn r50755] Port from reporter-merge branch.
--HG--
branch : trunk
2008-01-18 17:35:33 +01:00
arigo 9ca5974f0a [svn r50645] Fix for "utestconvert.py < input".
--HG--
branch : trunk
2008-01-15 18:46:55 +01:00
hpk 8569bd57a9 [svn r50606] don't fail for links to html files where we don'T have a .txt
--HG--
branch : trunk
2008-01-14 17:43:08 +01:00
arigo efd732b035 [svn r50576] This patch by Thiemo Seufer adds support for mips and mipsel.
--HG--
branch : trunk
2008-01-14 10:38:23 +01:00
arigo c5f6b437c8 [svn r49974] Restore the following behavior: py.test exits with an exit code 1
when there are failures.

--HG--
branch : trunk
2007-12-21 10:55:40 +01:00
fijal 150a396f66 [svn r49423] (naro) Fix for list.append() obviously, has no single test.
--HG--
branch : trunk
2007-12-05 22:08:23 +01:00
cfbolz de0879d46d [svn r48347] make status on working copy objects deal with replaced files
--HG--
branch : trunk
2007-11-06 23:11:30 +01:00
fijal b97ff86b0f [svn r47584] Implement very sophisticated algorith for -k TestClass.test to work
--HG--
branch : trunk
2007-10-19 15:46:10 +02:00
fijal aabae96514 [svn r47277] Argh. Fix -d -x
--HG--
branch : trunk
2007-10-08 10:19:55 +02:00
cfbolz 1e67da155a [svn r46794] embarassing typo
--HG--
branch : trunk
2007-09-21 15:29:26 +02:00
cfbolz d61ed8c014 [svn r46772] add a custom pdb.Pdb subclass that has the ability to properly list the lines
generated by py.code.Source. Very useful in PyPy debugging.

--HG--
branch : trunk
2007-09-20 17:26:09 +02:00
cfbolz 77163a5bf7 [svn r46771] remove nonsense __init__.py line -- belongs to the next checkin
--HG--
branch : trunk
2007-09-20 17:20:45 +02:00
cfbolz 66f7db5894 [svn r46770] add py.builtin.GeneratorExit, to make it possible to write 2.3 and 2.4
compatible code. The exception is never raised there.

--HG--
branch : trunk
2007-09-20 17:17:22 +02:00
guido 303a6e659a [svn r46692] Added 'export()' method to py.path.svnurl.
--HG--
branch : trunk
2007-09-17 14:22:39 +02:00
fijal 28c5aae67d [svn r46011] Branch merge of session cleanups.
* killed _tryiter usage in rsession
* moved reporter one level up, so it can be reused later for normal session
* a lot of small simplifications

--HG--
branch : trunk
2007-08-27 11:02:50 +02:00
fijal 46fdbe7867 [svn r46010] Merge from branch - a lock for files, prevents segfaults of cpython
--HG--
branch : trunk
2007-08-27 10:45:03 +02:00
guido ee7dc229f9 [svn r45994] Adding support for locking and non-recursive commits (a somewhat obscure
feature, but was easy to implement) to svnwc. Not tested on SVN 1.2 (anyone?).

--HG--
branch : trunk
2007-08-26 14:31:20 +02:00
fijal ea8038db10 [svn r45907] Fix number
--HG--
branch : trunk
2007-08-22 14:43:50 +02:00
ac 643289e013 [svn r45901] Do not use os.tmpfile() as it will fail on Windows unless You are Administrator.
--HG--
branch : trunk
2007-08-21 20:39:21 +02:00
fijal e722cb2db7 [svn r45671] Change lines for code.txt not to fail on cpy2.5
Problem is described in tests (skipped) anyway, hence there is no point
in failing code snippet in documentation

--HG--
branch : trunk
2007-08-15 12:53:26 +02:00
fijal a18a291dee [svn r45655] Kill unnecessary sanity check
--HG--
branch : trunk
2007-08-14 17:21:02 +02:00
fijal 2b39cfd09c [svn r45649] Two possible skip reasons
--HG--
branch : trunk
2007-08-14 11:49:04 +02:00
fijal 773848823d [svn r45648] Add possibility to specify reason for skips
--HG--
branch : trunk
2007-08-14 11:48:15 +02:00
fijal a7a95973eb [svn r45647] use repr() rather than direct return
--HG--
branch : trunk
2007-08-14 11:47:27 +02:00
fijal 5318f7b145 [svn r45646] Rewrite it a bit not to rely on exact formatting (rather checking whether
information is there)

--HG--
branch : trunk
2007-08-14 11:45:04 +02:00
fijal 8ce22f32ac [svn r45550] Skip those tests on windows
--HG--
branch : trunk
2007-08-08 14:03:03 +02:00
hpk 2371fb16fa [svn r45549] fix a bug that servemain() wouldn't actually
try to join threads at exit because of a
(hidden) attribute error.

--HG--
branch : trunk
2007-08-08 14:02:55 +02:00
hpk 62634136b9 [svn r45548] - refactoring cleanup mechanics into its own class
- have setDaemon(1) for the receiverThread as
  otherwise on python2.5 atexit will not be invoked
  (the receiver thread apparently blocks it)

--HG--
branch : trunk
2007-08-08 13:45:04 +02:00
hpk 3cb7d3579a [svn r45547] remove global
--HG--
branch : trunk
2007-08-08 12:38:22 +02:00
fijal 506bd239bd [svn r45545] Kill lock.
--HG--
branch : trunk
2007-08-08 11:36:08 +02:00
hpk a94866a20b [svn r45541] don't use globals when we might be called from destructors
--HG--
branch : trunk
2007-08-07 19:54:09 +02:00
hpk a5e69d2035 [svn r45539] merge the execnet lessthreads branch (using the branch'es history):
* now by default Gateways DO NOT SPAWN execution threads
  you can call "remote_init_threads(NUM)" on an already instantiated
  gateway, which will install a loop on the other side which will
  dispatch each execution task to its own thread.

* execution is dissallowed on the side which initiates a gateway
  (rarely used, anyway)

* some cleanups (hopefully)

--HG--
branch : trunk
2007-08-07 19:34:59 +02:00
hpk f80336f076 [svn r45538] not exported
--HG--
branch : trunk
2007-08-07 18:59:09 +02:00
fijal 31fe9347e5 [svn r45535] Avoid hacks when creating exception name
--HG--
branch : trunk
2007-08-07 18:19:35 +02:00
fijal 11e2b9426f [svn r45525] be a bit more impersonal
--HG--
branch : trunk
2007-08-07 09:11:18 +02:00
fijal 141a101673 [svn r45520] Add some rough ideas about pylib plannign
--HG--
branch : trunk
2007-08-06 15:58:54 +02:00
fijal a99085cea3 [svn r45519] Ignore non-existing files
--HG--
branch : trunk
2007-08-06 15:58:18 +02:00
fijal f78a355042 [svn r45518] Print out communicate atomically
--HG--
branch : trunk
2007-08-06 15:57:55 +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 8cbb41521c [svn r45295] Fix rsession tests
--HG--
branch : trunk
2007-07-24 11:32:44 +02:00
fijal c4ab38f5c9 [svn r45294] Complain loudly when there is pypy without stackless
--HG--
branch : trunk
2007-07-24 11:06:42 +02:00
pedronis 856c7e5695 [svn r44655] be consistent in super usage
--HG--
branch : trunk
2007-07-01 15:44:40 +02:00
pedronis 6ec2be9985 [svn r44648] PyCollectorMixin is intented to override Collector behavior, if we want to use super it really
needs to subclass from it to get mros to that effect.

If the obscure semi-override was intentional (?) holler

--HG--
branch : trunk
2007-07-01 14:18:02 +02:00
guido bdfb5ea88b [svn r44248] Fixed problem with calling .remove() on wcpaths of non-versioned files.
--HG--
branch : trunk
2007-06-14 15:32:55 +02:00
fijal 29e19de6a4 [svn r43575] Whack CSS a bit to have dots which does not go under the navbar
--HG--
branch : trunk
2007-05-23 17:03:46 +02:00
fijal 357df802d7 [svn r43299] Be more keyword-friendly for cheesshop
--HG--
branch : trunk
2007-05-12 16:53:25 +02:00
fijal e49f017024 [svn r42273] Added a file about what I would like to have in apigen.
--HG--
branch : trunk
2007-04-23 19:41:43 +02:00
xoraxax 8f733a426f [svn r42215] Copy with SVN history and restore test.
--HG--
branch : trunk
2007-04-20 18:40:39 +02:00
fijal 9f223d2bc3 [svn r42194] Add my notes (this time for real)
--HG--
branch : trunk
2007-04-20 10:02:38 +02:00
fijal 03c8634b09 [svn r42193] revert my changes
--HG--
branch : trunk
2007-04-20 10:01:00 +02:00
fijal 4a5acb9c09 [svn r42191] Move several issues from merlinux tracker
--HG--
branch : trunk
2007-04-20 09:53:54 +02:00
xoraxax 2dd380575c [svn r42188] Revive test/compat.py again, seems to work fine for me. Can be used by patching sys.modules["unittest"] in the conftest.py file.
--HG--
branch : trunk
2007-04-20 00:39:27 +02:00
hpk 8f58035cde [svn r42103] added some issues/features previously tracked elsewhere
--HG--
branch : trunk
2007-04-16 18:19:11 +02:00
hpk 446099b65e [svn r42092] add rlcompleter2 / pdbplus issues
--HG--
branch : trunk
2007-04-16 15:17:28 +02:00
hpk 5e201641af [svn r42089] some more infos/issues put to the TODO file
--HG--
branch : trunk
2007-04-16 14:37:00 +02:00
hpk 2779732a0c [svn r42085] adding some issues from the merlinux tracker (and removing them there)
--HG--
branch : trunk
2007-04-16 12:46:25 +02:00
fijal 50d77c64c0 [svn r41860] * kill start_on
* add keyword_oneshot flag, which indicates that -k is only one shot
  than all tests are run
* simplify code a bit

--HG--
branch : trunk
2007-04-03 19:28:04 +02:00
fijal d8e5e63235 [svn r41855] Add a bit hackish option which allows to start from selected
keyword test, doesn't work with rsession yet.

--HG--
branch : trunk
2007-04-03 17:23:00 +02:00
guido 1e7bb8ca99 [svn r41655] Added list of possible exceptions for callables.
--HG--
branch : trunk
2007-03-29 22:57:16 +02:00
guido cd6471e71f [svn r41620] Re-added anchors to the (full) source files, and using them from the API
documentation.

--HG--
branch : trunk
2007-03-29 13:56:14 +02:00
fijal 9466961ee4 [svn r41606] Rather strange hack to make sure that queue is not empty. Needed nowadays for
passing test_session in js/examples/console

--HG--
branch : trunk
2007-03-29 10:46:59 +02:00
arigo a86118d77b [svn r41480] Move the FunctionMixin to collect.py, as an attempt to avoid circular
imports.

--HG--
branch : trunk
2007-03-27 15:28:18 +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 417d97c850 [svn r41080] Added support for filtering listdir() calls in the SourcePageBuilder, using it
to filter out hidden files and the 'build' subdir of greenlet.

--HG--
branch : trunk
2007-03-22 16:06:41 +01:00
fijal e3715545fb [svn r40982] Possible problem-point (exploded at least once there)
--HG--
branch : trunk
2007-03-21 22:22:56 +01:00
fijal 633a3a67a3 [svn r40943] Regenerate js
--HG--
branch : trunk
2007-03-21 15:49:49 +01:00
hpk f3acdc6623 [svn r40834] skip test for XXX'ed download urls if version contains "alpha"
--HG--
branch : trunk
2007-03-20 13:20:33 +01:00
hpk e1138243dc [svn r40832] fixing syntax error
--HG--
branch : trunk
2007-03-20 13:11:31 +01:00
hpk 153ce61b48 [svn r40831] bump version number, fixes
--HG--
branch : trunk
2007-03-20 13:10:56 +01:00
fijal c2d010ad92 [svn r40753] Make MAX_COUNTER small enough. It's an obscure hack, but at least works
--HG--
branch : trunk
2007-03-19 11:43:49 +01:00
fijal ae3e6b9bf0 [svn r40739] Make FAILED TO LOAD MODULE clickable
--HG--
branch : trunk
2007-03-18 23:53:14 +01:00
fijal f6980c4b9d [svn r40738] Count also FAILED TO LOAD MODULE failures in web interface
--HG--
branch : trunk
2007-03-18 23:44:54 +01:00
fijal 3943673739 [svn r40737] A fix that allows (for command line reporter) to report failure in case
when FAILED TO LOAD MODULE

--HG--
branch : trunk
2007-03-18 23:38:57 +01:00
fijal cfd7c31a8d [svn r40720] Tracing defaults to false
--HG--
branch : trunk
2007-03-18 19:49:45 +01:00
fijal 837ba40fa7 [svn r40719] Argh. There should be post-commit hook which warns about every import pdb in your code.
--HG--
branch : trunk
2007-03-18 19:47:26 +01:00
hpk c8e69bb60e [svn r40706] test/__init__.py is needed as well (for determining test paths etc.)
--HG--
branch : trunk
2007-03-18 17:33:13 +01:00
hpk 9515dafb1c [svn r40705] move greenlet support objects to the "py/green" directory.
--HG--
branch : trunk
2007-03-18 17:28:04 +01:00
arigo 5506b03f81 [svn r40702] (pedronis, arigo)
Add setup/teardown calls around generators, with the same semantics as
around functions and methods.

--HG--
branch : trunk
2007-03-18 16:59:45 +01:00
fijal 1b639695b4 [svn r40002] Re-enable url check test
--HG--
branch : trunk
2007-03-06 22:13:33 +01:00