1. 09 Apr, 2012 7 commits
    • Antoine Pitrou's avatar
      Fix whitespace · d6aa5b30
      Antoine Pitrou authored
      d6aa5b30
    • Antoine Pitrou's avatar
      Issue #13165: stringbench is now available in the Tools/stringbench folder. · 1584ae39
      Antoine Pitrou authored
      It used to live in its own SVN project.
      1584ae39
    • R David Murray's avatar
      Rename test_ file that is really a support file to remove test_ prefix. · 75d9aca9
      R David Murray authored
      I thought I had run the full test suite before the last checkin, but
      obviously I didn't.  test_multibytecodec_support.py isn't really a test file,
      it is a support file that contains a base test class.  Rename it to
      multibytecodec_support so that regrtest test discovery doesn't think it is a
      test file that should be run.
      75d9aca9
    • R David Murray's avatar
      f1cdb608
    • R David Murray's avatar
      #14533: if a test has no test_main, use loadTestsFromModule. · 78fc25c7
      R David Murray authored
      This moves us further in the direction of using normal unittest facilities
      instead of specialized regrtest ones.  Any test module that can be correctly
      run currently using 'python unittest -m test.test_xxx' can now be converted to
      use normal unittest test loading by simply deleting its test_main, thus no
      longer requiring manual maintenance of the list of tests to run.  (Not all
      tests can be converted that easily, since test_main sometimes does some
      additional things (such as reap_children or reap_threads).  In those cases the
      extra code may be moved to setUpModule/tearDownModule methods, or perhaps the
      same ends can be achieved in a different way, such as moving the decorators to
      the test classes that need them, etc.)
      
      I don't advocate going through and making this change wholesale, but any time
      a list of tests in test_main would otherwise need to be updated, consideration
      should instead be given to deleting test_main.
      78fc25c7
    • R David Murray's avatar
      #12537: in mailbox avoid depending on knowledge of email package internals · b019ee75
      R David Murray authored
      Previously mailbox was copying a list of attributes from one message object to
      another in order to "copy the message data".  This means that any time new
      attributes were added to email.message.Message, mailbox broke.  Now instead it
      copies all attributes from the source object to the target object, skipping
      any mailbox-object-specific attributes to produce the same clean initial
      state it was previously getting by copying only the "known" attributes.
      
      David Lam assisted in the development of this patch.
      b019ee75
    • R David Murray's avatar
  2. 08 Apr, 2012 11 commits
  3. 07 Apr, 2012 10 commits
  4. 06 Apr, 2012 12 commits