aboutsummaryrefslogtreecommitdiff
path: root/py
Commit message (Collapse)AuthorAgeFilesLines
* Backout 44c3924 : no need to patch dead codeRonan Lamy2014-09-011-2/+0
|
* Add two README files in "py" and "_pytest". PLEASE READ THEMArmin Rigo2014-09-011-0/+17
| | | | when updating these!
* reapply dc81116ff4b7Armin Rigo2014-09-011-0/+2
|
* Reapply fix c6f52c21fe7eArmin Rigo2014-09-011-1/+16
|
* Accept a plain string and don't try to decode it to unicode and thenArmin Rigo2014-08-311-1/+1
| | | | re-encode it to utf-8. It may not work.
* sync to pytest 2.5.2 and pylib 1.4.20Ronan Lamy2014-04-1217-353/+659
|
* Increase the resistence of make_numbered_dir() against multipleArmin Rigo2013-04-291-1/+16
| | | | processes
* Add a quick hack to prevent py.test from taking forever to display certainArmin Rigo2013-01-251-0/+2
| | | | tracebacks.
* seems my hacks made assertion worseMaciej Fijalkowski2012-10-281-3/+3
|
* try to mitigate "it takes forever" on py.testMaciej Fijalkowski2012-10-221-3/+3
|
* Spelling and grammatical errors spotted by lintianStefano Rivera2012-10-101-3/+3
|
* re-add (again) these files, they are needed by buildbot (I think). See also ↵Antonio Cuni2012-04-102-0/+41
| | | | e12baeb2c897
* upgrade py and _pytest to current tipRonny Pfannschmidt2012-04-095-9/+22
|
* sync pylib with 1.7.4 + mattip's patchRonny Pfannschmidt2012-02-172-10/+25
|
* syncronize pylib and pytest with current hg versionsRonny Pfannschmidt2012-01-2117-83/+1126
|
* Fix an occasional IndexError.Armin Rigo2011-12-071-0/+1
| | | | | | | (I should try to figure out if the trunk py lib still has the same issue, and write a test for it if it does, but I don't really follow the trunk py lib, so I'm just checking this here and it can be ignored if we update the py lib.)
* make more tests passMaciej Fijalkowski2011-11-131-1/+1
|
* Fix an UnboundLocalError.Armin Rigo2011-09-221-1/+1
|
* drag py/bin/py.test back from the graveyardBenjamin Peterson2011-06-142-0/+41
|
* update py.test again (now with 2.5 support)Benjamin Peterson2011-06-147-1056/+5
|
* chmod +x py.testAntonio Cuni2011-06-141-0/+0
|
* Backout changes 3c0ae7fce1c7 to cfbda2605f9dArmin Rigo2011-06-147-5/+1056
| | | | | | We should discuss on irc whether it's a good idea or not. Most importantly, this doesn't seem to work on Python 2.5, which I find to be still an important platform.
* upgrade to latest development version of py.testBenjamin Peterson2011-06-137-1056/+5
|
* use actually released pytest-2.0.3 / py-1.4.3 versionsholger krekel2011-04-282-2/+3
| | | | (minor fixes compared to the versions pypy already used)
* Fix large writes on win32 consoleAmaury Forgeot d'Arc2011-03-221-0/+3
|
* using dev version of py with terminal coloring fix (thanks amaury for ↵holger krekel2011-03-112-3/+6
| | | | pointing out)
* actually exit with proper exit codeholger krekel2011-03-111-1/+1
|
* (really) re-add py/bin/py.test and py/bin/_findpy.py to ease transition wrt ↵holger krekel2011-03-072-0/+41
| | | | to nightly jobs
* remove py/bin/py.test script because we neccessarily have pytest.py at root ↵holger krekel2011-03-062-55/+0
| | | | | | | | | | | level anyway. the root pytest.py is now a modified version of the file from the pytest distribution because I want to disable warnings for people who have installed py.test indepedently from PyPy. Also fix up the docs a bit more to hint / move towards this possibility. also fix the docs to point to "pytest.py" instead of "pypy/test_all.py" which should die at some point.
* inline update to latest py versionholger krekel2011-03-061-1/+1
|
* update to current py and pytest trunkholger krekel2011-03-065-21/+13
|
* for now re-add some helping scripts used from pypy buildbot invocationsholger krekel2011-01-182-0/+55
|
* remove old py copy, add current pytest and py lib snapshots (from ↵holger krekel2011-01-1899-8316/+1128
| | | | | | pytest-2.0.1dev and py-1.4.1dev) and some initial tweeks to conftest.py
* A fix for https://bitbucket.org/hpk42/py/issue/2Amaury Forgeot d'Arc2010-12-151-1/+1
| | | | which is needed because "hg" is a .cmd script on Windows
* refine unicode handling for py.process.cmdexecHolger Krekel2010-06-251-5/+10
|
* Grumble. sys.stdout.encoding can be NoneMaciej Fijalkowski2010-06-181-2/+4
|
* This seems to fix some of 64bit issues. A bit "what the hell", but makesMaciej Fijalkowski2010-06-161-2/+2
| | | | some sort of sense.
* fix assertion interpretation with powBenjamin Peterson2010-06-101-0/+1
|
* When building the explanation of failed assertions,Amaury Forgeot d'Arc2010-06-101-26/+26
| | | | | | | | | don't compile() code ourselves, but pass the source to frame.eval(). This helps when running AppTests with cpython2.7, where the opcodes as incompatible with the pypy interpreter. I could not convert the calls to pycodegen, but I'm not sure what they are useful for.
* defer compilation to frame.eval so that pypy can override and compile to ↵Holger Krekel2010-06-101-3/+2
| | | | bytecode on its own
* also copy the py.code.compile fix to trunk (it can obscure/fail on ↵Holger Krekel2010-06-061-2/+5
| | | | traceback-printing, especially with generated code entries being in the traceback)
* this is now released, a last fix for python3Holger Krekel2010-05-251-0/+1
|
* introducing --maxfail=NUM option , hopefully the last 1.3.1 candidateHolger Krekel2010-05-255-15/+30
|
* update to py-1.3.1 release candidateHolger Krekel2010-05-228-43/+79
|
* merge py131 branch (which merges py1.3.1a1 - release pending) relevant news:Holger Krekel2010-05-2221-1536/+408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes keyboardinterrupt issues - hopefully strange internal TBs when doing ctrl-c are a thing of the past now * be more robust against bogus source code and fix/improve reporting of failing applevel tests * fix some xfail/skipping issues and introduce a new imperative way to xfail a test by py.test.xfail() # or py.test.xfail("reasonstring") I strongly recommend to use this instead of py.test.skip("xxx") because it more clearly communicates that not just some platform/dependency problem but an implementation issue is present. Note that it is also possible to do: @py.test.mark.xfail def test_function() and with Python2.6 it can also be applied to a test class like this: @py.test.mark.xfail(reason="xyz needs improvement/refactoring") class TestClass: def test_... And btw, you can issue "py.test --runxfail" to still run those tests and see tracebacks. And finally, @py.test.mark.xfail(run=False) def test_function() will not try to run the function at all.
* remove bogus .swp fileHolger Krekel2010-05-111-0/+0
|
* merge py12 branch - incorporates and updates pypy tests to use py.test-1.3.0Holger Krekel2010-05-06113-3750/+3554
| | | | | | | | | | | | * introduces spaceconfig attribute to specify which space to use for a certain test class. * removes deprecated usage of py.test features * removes internal imports of py lib * various little test functionality related cleanups note: the merging was going odd with svn throwing assertion errors and other issues - so i merged in two steps - hope this worked fine.
* (antoine, fijal)Maciej Fijalkowski2010-04-171-2/+0
| | | | | | Merge decouple-host-opcodes. This branch separates cpython bytecode from pypy bytecode as much as possible. We no longer support translating frozen CPython bytecode. Should make pypy work on CPython 2.7.
* Another fix in the py lib. I don't like too much checking in there,Armin Rigo2010-03-221-1/+1
| | | | but it really obscures a test failure...
* Revert r72487, which had no effect, and apply instead encode()Armin Rigo2010-03-222-13/+6
| | | | somewhere else...