Skip to content
Snippets Groups Projects
  1. Aug 02, 2008
  2. May 18, 2005
    • Armin Rigo's avatar
      issue47 testing · a6f6e237
      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.
      a6f6e237
  3. Apr 25, 2005
    • Christian Tismer-Sperling's avatar
      fixed gateway and genc to translate targetpypy1 -no-a again. · b8f87ba4
      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?
      b8f87ba4
  4. Feb 17, 2005
  5. Feb 14, 2005
  6. Feb 11, 2005
  7. Jan 23, 2005
  8. Jan 10, 2005
  9. Jan 09, 2005
  10. Jan 08, 2005
  11. Jan 01, 2005
    • Armin Rigo's avatar
      self.assertRaises_w() -> self.raises_w() · b8997e6c
      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.
      b8997e6c
  12. Nov 16, 2004
  13. Oct 18, 2004
  14. Sep 06, 2004
  15. Jul 26, 2004
    • Laura Creighton's avatar
      In a different program I found a person in the habit of writing two · 23e65354
      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.
      23e65354
  16. Jul 10, 2004
  17. Jul 09, 2004
  18. Jul 06, 2004
  19. Jul 05, 2004
  20. Jul 03, 2004
  21. Jul 02, 2004
    • Laura Creighton's avatar
      Added a few unittests, but think they just showed that things worked. · 51b06bc1
      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.
      51b06bc1
    • Laura Creighton's avatar
      Found a bug. If you make a triple quoted comment, and you happen to start · 740a8943
      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 ...
      740a8943
  22. Jul 01, 2004
  23. Jun 21, 2004
  24. Jun 16, 2004
  25. Jun 12, 2004
Loading