Commit Graph

20 Commits

Author SHA1 Message Date
hpk 877a7a32d8 [svn r63103] samefile is only available on posix
--HG--
branch : trunk
2009-03-20 01:30:32 +01:00
hpk f7a23716b5 [svn r63102] add a "samefile" method to local path objects.
--HG--
branch : trunk
2009-03-20 00:57:10 +01:00
hpk 4aac96fa13 [svn r63000] * do an as lightweight config.mktemp() as possible
* avoid writing lock files if lock_timeout is 0 or None

--HG--
branch : trunk
2009-03-17 15:12:10 +01: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 a978e606c3 [svn r57833] simplify test setup
--HG--
branch : trunk
2008-09-05 11:28:25 +02:00
hpk 621f925985 [svn r57831] small test cleanups while prepping for pycon uk slides
--HG--
branch : trunk
2008-09-05 11:02:58 +02:00
hpk 37a41ed0b7 [svn r57536] get the py.path fixes of 0.9.x release branch back to trunk
--HG--
branch : trunk
2008-08-21 12:00:33 +02:00
hpk 88a534e9b0 [svn r57323] port 57174 from branch: ignore errors when removing dirs in teardowns
--HG--
branch : trunk
2008-08-16 17:38:54 +02:00
guido 4549e188da [svn r56835] Refactored the wcpath.status() method, moved the parsing of the regexp to the
WCStatus class.

--HG--
branch : trunk
2008-07-29 12:07:41 +02: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 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
hpk c52a54796d [svn r38467] make string comparison lowercase-insensitive for windows
--HG--
branch : trunk
2007-02-11 15:59:56 +01:00
hpk dcf4e564ad [svn r38208] make test safer against race conditiation (dist testing)
--HG--
branch : trunk
2007-02-08 21:56:12 +01:00
hpk 499d60c8ab [svn r38203] rename getpymodule/getpycodeobj to "_" methods
(which can build C modules on the fly)
it's not clear they are still useful this way
and they are easy to confuse with pyimport()

--HG--
branch : trunk
2007-02-08 20:48:31 +01:00
hpk 77b8a010c5 [svn r38097] streamline boxed test configuration:
"config.option.boxed"  indicates now boxed tests
and RSession.fixoptions takes care to honour
dist_boxed accordingly.  So you can do

    if not py.test.config.boxed:
        py.test.skip(...)

i also fixed the documentation.

--HG--
branch : trunk
2007-02-07 19:43:23 +01:00
hpk bdf3e919c9 [svn r37947] added _gethomedir() helper to get at homedirectory
--HG--
branch : trunk
2007-02-05 01:35:40 +01:00
arigo 04cf3cdfa0 [svn r37901] make_numbered_dir(): in a fork() situation, only the last process should remove
the .lock, otherwise the other processes run the risk of seeing their temporary
dir disappear.  For now we remove the .lock in the parent only (i.e. we assume
that the children finish before the parent).

This is needed for long-running pypy translate.py processes using
--fork-before.

--HG--
branch : trunk
2007-02-04 14:01:21 +01:00
fijal 8a4e21ecd5 [svn r37553] Skip if boxed
--HG--
branch : trunk
2007-01-29 18:11:13 +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