holger krekel
df8aedba47
adding the console-runtest helper as discussed on py-dev
...
--HG--
branch : trunk
2009-10-12 11:28:47 +02:00
holger krekel
1bdc0896ca
introduce "-d" to py.cleanup
...
--HG--
branch : trunk
2009-10-12 11:24:41 +02:00
holger krekel
90f39426b4
fix some tests after the py/_py split
...
--HG--
branch : trunk
2009-10-09 15:26:46 +02:00
holger krekel
f10bfbb7e5
resolves #59 - robustify unittest collection
...
--HG--
branch : trunk
2009-10-09 15:09:26 +02:00
holger krekel
a603021757
ignore more dirs and files
...
--HG--
branch : trunk
2009-10-08 13:38:31 +02:00
holger krekel
c15a1b698c
forgot to commit the verbatim copy of apipkg in _py/apipkg.py
...
--HG--
branch : trunk
2009-10-05 02:22:48 +02:00
holger krekel
6e11f8cd2a
* remove unused py._thread namespace, rewrite the one usage
...
* remove unused py/test/web directory
--HG--
branch : trunk
2009-10-03 19:57:48 +02:00
holger krekel
5791c06bf2
rewrote the initpkg mechanism and moved py lib implementation files to
...
_py/... with py/__init__.py containing pointers into them
The new apipkg is only around 70 lines of code and allows
us to get rid of the infamous "py.__." by regular non-magical
"_py." imports. It is also available as a separately installable
package, see http://bitbucket.org/hpk42/apipkg
--HG--
branch : trunk
2009-10-03 01:47:39 +02:00
holger krekel
db1ff48996
* use the MIT license for the py lib
...
* bump version to prospective 1.1.0b1
* strike some unused code from initpkg
--HG--
branch : trunk
2009-10-03 01:11:04 +02:00
holger krekel
1f29529a24
* don't add distributed command line options when 'execnet' is not
...
installed, report a nice message.
* fix tests and code to work with non-existing execnet
* point execnet doc to the new package
--HG--
branch : trunk
2009-10-02 22:29:22 +02:00
holger krekel
ab9f6a75ad
remove py.execnet, substitute py.execnet usages with "execnet" ones.
...
--HG--
branch : trunk
2009-10-02 16:58:57 +02:00
holger krekel
496e3b1138
adding internal repr for debugging
...
adding an example for generating multi-args/multi python tests
--HG--
branch : trunk
2009-09-30 18:36:04 +02:00
holger krekel
aed66120a2
fix typo, add ronny to authors, normalize email addresses
...
--HG--
branch : trunk
2009-09-30 17:59:03 +02:00
holger krekel
5914277f92
internally rename "provider" to "factory" to be consistent
...
with documentation.
--HG--
branch : trunk
2009-09-30 12:59:47 +02:00
holger krekel
98b2300266
fix cached_setup to deal properly for test_functions
...
with multiple args. closes #50
--HG--
branch : trunk
2009-09-30 12:52:40 +02:00
Ronny Pfannschmidt
2986c5dc74
simplify serializer tests
...
* use generate_tests to generate the simple non-string checks
* get rid of the TestSerializer class
--HG--
branch : trunk
2009-09-28 23:43:38 +02:00
Benjamin Peterson
7466516673
the check_sequence name is more specific
...
--HG--
branch : trunk
2009-09-28 15:55:09 -05:00
Ronny Pfannschmidt
2c523cd0d6
enhance the serializer tests
...
* use generate_tests hook to generate the serialize deserialize combinations
* add dump/load funcargs to simplify the tests
--HG--
branch : trunk
2009-09-28 22:46:32 +02:00
Ronny Pfannschmidt
40e91dcd85
add separate test for the serializer bigint fail
...
--HG--
branch : trunk
2009-09-28 22:42:36 +02:00
Benjamin Peterson
3d2975f38e
support floats
...
--HG--
branch : trunk
2009-09-26 18:26:32 -05:00
Benjamin Peterson
c3fd7f0247
don't need to import py
...
--HG--
branch : trunk
2009-09-26 14:22:01 -05:00
Benjamin Peterson
cb5bd868d9
use default argument
...
--HG--
branch : trunk
2009-09-26 14:21:36 -05:00
Benjamin Peterson
0f96be372d
clean up unused compatibility code
...
--HG--
branch : trunk
2009-09-26 14:20:36 -05:00
Benjamin Peterson
4d598370b4
test cross version serialization by launching subprocesses; much cleaner!
...
--HG--
branch : trunk
2009-09-26 12:35:24 -05:00
holger krekel
8f69d23f18
merging jarko'S fixes, resolves issue #45 , resolves issue #46
...
--HG--
branch : trunk
2009-09-23 19:43:43 +02:00
Benjamin Peterson
1e71a5c392
Add a simple (hopefully) cross-python marshaller
...
Will rewrite the tests soon...
--HG--
branch : trunk
2009-09-22 21:08:40 -05:00
Benjamin Peterson
b3ca12d435
update docstring
...
--HG--
branch : trunk
2009-09-22 21:07:50 -05:00
Benjamin Peterson
d80f37f14a
add changelog entry for last commit
...
--HG--
branch : trunk
2009-09-22 21:07:07 -05:00
Benjamin Peterson
8af3ede092
allow a path to explicity given for py.lookup
...
--HG--
branch : trunk
2009-09-22 21:04:25 -05:00
holger krekel
6ddea4a1bc
visit() now returns paths in depth-first order. fixes issue #47
...
--HG--
branch : trunk
2009-09-22 19:13:33 +02:00
holger krekel
e3b34c9da3
* allowing arbitrary keys for xspecs but adding some sanity checks to xspec-parsing and makegateway.
...
* fixing a python3 IO issue - we need to retain sys.stdout/stdin
references to keep the underlying byte stream open.
--HG--
branch : trunk
2009-09-22 18:40:20 +02:00
Samuele Pedroni
1b97d06a09
(micke, pedronis)
...
teach the resultlog plugin about the xfail tweaked outcomes
--HG--
branch : trunk
2009-09-17 15:31:35 +02:00
Jurko
9fd1367845
Corrected the constructed system path value (broken by the env.cmd, env.sh & env.py file move in 4abc620bb044).
...
--HG--
branch : trunk
2009-09-12 00:35:57 +02:00
Jurko
62a4cf68e8
Fixed a typo in error.py causing it to fail on Windows.
...
--HG--
branch : trunk
2009-09-12 00:16:13 +02:00
Benjamin Peterson
81062c5e2f
compiling AST to code is new in python 2.6
...
--HG--
branch : trunk
2009-09-11 15:24:43 -05:00
holger krekel
47bad98c07
* various cleanups and detailed doc string for gateway_base module
...
* remove old multi-file-send mechanism/tests now that
only gateway_base is send to the other side.
* adding some (c) notices where i am pretty sure about them.
--HG--
branch : trunk
2009-09-11 16:26:19 +02:00
holger krekel
d4d0226058
added another funcarg example i had lying around
...
--HG--
branch : trunk
2009-09-11 12:05:06 +02:00
holger krekel
22c1ad9f7b
fix a bug with funcarg setup and remove XXX comment because "scope=module" now would work but leaving it as session for now.
...
--HG--
branch : trunk
2009-09-09 23:07:42 +02:00
holger krekel
6d84da39e4
some doc about the experiemntal pytest_gwmanage_newgateway hook.
...
and use process-scope for execnet test funcargs because
of weird setup/teardown issues when running distributedly itself.
--HG--
branch : trunk
2009-09-09 20:45:51 +02:00
holger krekel
5df58c619d
* move gateway management code to py/test/dist because it's not clear
...
how generally useful it is.
* provide pytest_dist_makegateway(txspec) hook so that plugins
can add their own interpretation/keywords.
--HG--
branch : trunk
2009-09-09 20:12:03 +02:00
holger krekel
8ea2364039
ups, forgot to add a neccessary file.
...
--HG--
branch : trunk
2009-09-09 15:36:53 +02:00
holger krekel
b70c7a209d
* moving execnet tests to funcarg-style, some cleanup
...
* slight refinement to FAQ license topic
--HG--
branch : trunk
2009-09-08 10:10:36 +02:00
holger krekel
f9eadc6440
relicense to LGPL, add an FAQ entry reasoning about it.
...
--HG--
branch : trunk
2009-09-08 09:57:19 +02:00
holger krekel
0f29b503ef
monkeypatch, doc, apiwarn, deprecation fixes
...
--HG--
branch : trunk
2009-09-07 17:53:50 +02:00
holger krekel
29d437489d
some fixes to support Jython better
...
--HG--
branch : trunk
2009-09-07 14:59:26 +02:00
holger krekel
3c3002ccd5
regen setup.py and docs so that "python3 setup.py build" maybe works if setuptools does
...
--HG--
branch : trunk
2009-09-06 17:17:37 +02:00
holger krekel
c8119d89b6
move test files out of py lib proper
...
* separate all tests from plugins
* simplify implicit inclusion of plugins under test
* have test_initpkg perform direct checks instead of yielding tests
* fix example tests for 3k
--HG--
branch : trunk
2009-09-06 16:59:39 +02:00
holger krekel
5cf27098cf
execnet cleanup/refinements: avoid creating a shell for each subprocess
...
* introduce HostNotFound, raised for Socket and SshGateways
* factored out basic tests, cleaned up existing tests
* removed sshgateway identity argument which was deprecated in 1.0
--HG--
branch : trunk
2009-09-06 13:38:21 +02:00
holger krekel
734a40eb28
seems like compile is way slower than just parser.suite so
...
we try to see if it's available (only jython doesn't have it)
--HG--
branch : trunk
2009-09-06 12:35:52 +02:00
holger krekel
518194537e
* refactor some setup/teardown/ensuretemp usages to use funcargs
...
* introduce monkeypatch.syspath_prepend for safe monkey patching of module import path
* fix monkeypatch naming
--HG--
branch : trunk
2009-09-05 23:21:58 +02:00