- Aug 02, 2008
-
-
Bruno Gola authored
-
- May 18, 2005
-
-
Armin Rigo authored
First phase of clean-up of the 'tool' directory. Includes a merge of compile.py, hack.py and template.py into sourcetools.py, which triggers a host of import fixes all over the place. Files that have been fully deleted: D pypy/tool/example_pytest.py D pypy/tool/methodChecker.py D pypy/tool/stdprofile.py D pypy/tool/testpm.py D pypy/tool/fiximport.py D pypy/tool/ppdb.py D pypy/tool/dotypes.py The content of the other removed files was moved somewhere else.
-
- Apr 25, 2005
-
-
Christian Tismer-Sperling authored
The problem was a py.path.local instance which I left in ApplevelInterpClassafter my latest cache changes. Modified genc to also ignore class attributes if they are defined in NOT_RPYTHON_ATTRIBUTES. This thing took me way too long to find out. Maybe an alternative tagging mechanism is needed: Not just enumerating attributesto be ignored, but maybe also by tagging things like py.path.local as NOT_RPYTHON, themselves?
-
- Feb 17, 2005
-
-
Holger Krekel authored
(because now py.test recognizes functions by 'test' instead of 'test_').
-
- Feb 14, 2005
-
-
Armin Rigo authored
-
- Feb 11, 2005
-
-
Armin Rigo authored
-
- Jan 23, 2005
-
-
Armin Rigo authored
-
Armin Rigo authored
-
- Jan 10, 2005
-
-
Samuele Pedroni authored
for app-level tests raises itself is added as a builtin directly.
-
Samuele Pedroni authored
fiximport life for deciding whether to import py.test. Probably we should have a flag for the general case to choose between the short and the fully qual form, and maybe utestconvert itself should add the import py.test or from py.test import raises?
-
Samuele Pedroni authored
-
- Jan 09, 2005
-
-
Samuele Pedroni authored
will look at the others objspace/std/test tomorrow.
-
- Jan 08, 2005
-
-
Samuele Pedroni authored
tearDown - added more PyPy stuff to utestconvert: assertEqual_w --This line, and those below, will be ignored-- M tool/utestconvert.py M tool/fiximport.py
-
Samuele Pedroni authored
with PyPy additions and improved fiximport.
-
- Jan 01, 2005
-
-
Armin Rigo authored
This is the first PyPy-specific conversion done by utestconvert.py. It should be removed for when utestconvert.py is to become a general unittest->pytest converter.
-
- Nov 16, 2004
-
-
Holger Krekel authored
also got removed) - the beginnings of some support for conversion to using py.test (currently found in pypy/tool/pytest/support.py)
-
- Oct 18, 2004
-
-
Holger Krekel authored
http://codespeak.net/py for documentation.
-
- Sep 06, 2004
-
-
Armin Rigo authored
-
Armin Rigo authored
-
- Jul 26, 2004
-
-
Laura Creighton authored
unittests per line, when they can fit: self.assertEquals(dog, cat); self.assertEquals(mouse, rat) (actually they are a firm believer that whitespace after argument separating commas are deadly poison, but you get the idea.) The program converts the first one, and takes the rest as a trailing comment, which it passes unchanged. I have no plans to change this behaviour at the moment, only document it, but will do so if you think it is worth it.
-
- Jul 10, 2004
-
-
Laura Creighton authored
now they are xxx_cp.py
-
Laura Creighton authored
it stands will change assertRaises. comment out the 2 dictionary entries if you do not want this. But to pass its own unittests, it needs to have them uncommented ...
-
- Jul 09, 2004
-
-
Laura Creighton authored
some simplification can be done. Also make the -c opt produce xxx.cp.py files, so that they will be picked up by test_all.py
-
- Jul 06, 2004
-
-
Laura Creighton authored
They don't pass yet.
-
- Jul 05, 2004
-
-
Laura Creighton authored
-
Laura Creighton authored
optparse, which I learned to use. I think it may be the wrong sized tool for most of my jobs. I think I will go rewrite the option parsing with getopt which should be a lot smaller. But I wanted to preserve this version...
-
Laura Creighton authored
factored out from utestconvert.py. test_utestconvert.py doesn't use unittest, but just uses asserts. test_utestconvert2.py is the same thing but uses unittest. By the way, you cannot get test_utestconvert.py by running utestconvert with input utestconvert2.py. The tests which are input to the tests, that need checking, get converted as well. :-)
-
- Jul 03, 2004
-
-
Laura Creighton authored
too many. I knew I could get it down to something a little more reasonable...
-
- Jul 02, 2004
-
-
Laura Creighton authored
Changed the dictionary of unittests to be a dictionary of lists, not a dictionary of dictionaries. They only were used for assignment once, and this way we can make them print as a neat table.
-
Laura Creighton authored
a line with self.someunittest, the program will try to parse it. :-) ''' talking talking talking self.assertEquals( ... whatever the results are .... more talking more talking ''' Its better to just copy those lines as is. Some comments will end up with the wrong syntax, but that is better than second-guessing, or failing due to a Syntax Error. Also moved some tests around, so that the ifs are if <something bad>: return <something more or less reasonable> else: do a huge amount of work rather than upside down as I had them. Just a tiny bit of improved readability ...
-
- Jul 01, 2004
-
-
Laura Creighton authored
for considering converting their unittests ...
-
- Jun 21, 2004
-
-
Laura Creighton authored
check out the branch to get at thisone file.
-
- Jun 16, 2004
-
-
Armin Rigo authored
-
- Jun 12, 2004
-
-
Armin Rigo authored
-