holger krekel
b8db15a94f
refine bestrelpath to return "." for X.bestrelpath(X) and refine its docstring
...
--HG--
branch : trunk
2010-06-28 16:32:43 +02:00
holger krekel
c1d0fc9aaf
add ignore_errors to local.remove()
...
--HG--
branch : trunk
2010-06-07 20:48:36 +02:00
holger krekel
10baa7f8af
fix python3 failure by making a relative import work
...
--HG--
branch : trunk
2010-06-05 16:10:17 +02:00
holger krekel
c56f4f9444
don't depend on (and don't actually use anymore) testing/__init__.py
...
--HG--
branch : trunk
2010-06-04 00:39:58 +02:00
Ronny Pfannschmidt
f8404be1b2
add a rootdir param to py.path.local.mkdtemp
...
--HG--
branch : trunk
2010-06-03 11:14:32 +02:00
holger krekel
75d80ca183
fix pyimport() bug on directories
...
--HG--
branch : trunk
2010-05-31 17:06:46 +02:00
holger krekel
ed7a2d2da3
refine/fix isimportable-logic and ensure that 'tmpdir' has a python-importable name
...
--HG--
branch : trunk
2010-04-27 16:10:25 +02:00
holger krekel
8131f5bdc0
(fixes issue83) don't try to import conftest from an invalid package path, refine path.pyimport() logic
...
--HG--
branch : trunk
2010-04-27 15:49:13 +02:00
holger krekel
b3a05b545e
another couple of checks on jython, still some problems
...
--HG--
branch : trunk
2010-04-23 19:05:22 +02:00
holger krekel
221ac3e466
a couple of more mostly jython-related fixes
...
--HG--
branch : trunk
2010-04-23 13:29:28 +02:00
holger krekel
fe34a8a15a
a couple of more fixes/refinements for getting py.test to run better on jython/win32
...
--HG--
branch : trunk
2010-04-21 03:50:03 -07:00
holger krekel
5715bbd6f5
refining the win32 checks some further
...
--HG--
branch : trunk
2010-04-20 20:08:52 +02:00
holger krekel
536252cb2e
refine win32 checks to also work on top of jython/win32
...
--HG--
branch : trunk
2010-04-20 10:45:41 -07:00
holger krekel
9da1ba40ed
move down py/impl/XYZ to py/_XYZ
...
--HG--
branch : trunk
2010-01-13 17:15:54 +01:00
holger krekel
3239bd250b
avoid dependency on directory ordering
...
--HG--
branch : trunk
2010-01-03 18:19:52 +01:00
holger krekel
27aa14c20f
fix python3 issues, add missing plugin docs
...
--HG--
branch : trunk
2010-01-03 13:27:06 +01:00
holger krekel
89f178bf4d
streamline svn test setup a bit, clear caches on setup-restore, hopefully will erase random failures with test_export.
...
--HG--
branch : trunk
2009-12-30 13:05:08 +01:00
holger krekel
9be7d78fb1
some debug info aimed at helping to find out about a randomly failing test_export
...
test setup issue
--HG--
branch : trunk
2009-12-29 21:18:17 +01:00
holger krekel
71e332c9c4
robustiy some randomly failing tests
...
--HG--
branch : trunk
2009-12-29 12:36:45 +01:00
holger krekel
abb05d9384
fixing windows32 svn-testing issues
...
--HG--
branch : trunk
2009-12-25 01:47:43 -08:00
Benjamin Peterson
ec96ab5286
2.7's TextIO requires unicode
...
--HG--
branch : trunk
2009-12-06 11:47:41 -06:00
holger krekel
9d5b313aad
adjustments and fixes to test run, distribution files. thanks thm.
...
--HG--
branch : trunk
2009-11-24 15:16:58 +01:00
holger krekel
452ce50d7d
fix compatibility issue with svnwc.update and put CHANGELOG to rootlevel
...
--HG--
branch : trunk
2009-11-20 00:12:06 +01:00
holger krekel
1a86d09da4
a few internal test related fixes as to run on a osx/no-execnet situation
...
--HG--
branch : trunk
2009-11-12 21:15:59 +01:00
holger krekel
a4a652af85
fix a bug with svnwc.listdir() not accepting a checker(versioned=...)
...
--HG--
branch : trunk
2009-11-12 13:09:27 +01:00
holger krekel
b04a04cabd
make py lib a self-contained directory again
...
- move and merge _py/ bits back to py/
- fixes all around
--HG--
branch : trunk
2009-11-04 21:34:07 +01:00
holger krekel
6a82cdb37f
fix jython issue, flexibilize sysexec params
...
--HG--
branch : trunk
2009-10-29 23:46:14 +01:00
holger krekel
30710a9cd6
fix windows32 issues, introduce a simplistic path.samefile for it, fix tests
...
--HG--
branch : trunk
2009-10-29 20:10:05 +01:00
holger krekel
86fc12dd15
resolves issue #59
...
resolves issue #48
Have the path.pyimport() helper raise an EnvironmentError if an
import of a given file returns a module that does not appear to
be coming from the actual path. E.g. for a directory layout like this:
a / test_whatever.py
b / test_whatever.py
calling py.path.local("b/test_whatever.py").pyimport() will
fail if the other globally scoped test_whatever module was
loaded already.
--HG--
branch : trunk
2009-10-28 19:51:20 +01:00
holger krekel
d2e6cd0523
first round of fixing jython compatibility issues, marking some tests as xfail-on-jython
...
--HG--
branch : trunk
2009-10-27 21:34:11 +01:00
holger krekel
861f34fe90
use new marking idioms, simplify generalized skipping implementation
...
--HG--
branch : trunk
2009-10-22 18:37:24 +02:00
holger krekel
3ca770b420
generalize skipping
...
- rename pytest_xfail to pytest_skip
- dynamic "skipif" and "xfail" decorators
- move most skipping code to the plugin
also coming with this commit:
- extend mark keyword to accept positional args + docs
- fix a few documentation related issues
- leave version as "trunk" for now
--HG--
branch : trunk
2009-10-15 16:18:57 +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
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
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