1. 13 Mar, 2007 4 commits
  2. 12 Mar, 2007 13 commits
  3. 11 Mar, 2007 4 commits
  4. 10 Mar, 2007 7 commits
  5. 09 Mar, 2007 11 commits
  6. 08 Mar, 2007 1 commit
    • Brett Cannon's avatar
      Introduce test.test_support.TransientResource. It's a context manager to · a30fcb4d
      Brett Cannon authored
      surround calls to resources that may or may not be available.  Specifying the
      expected exception and attributes to be raised if the resource is not available
      prevents overly broad catching of exceptions.
      
      This is meant to help suppress spurious failures by raising
      test.test_support.ResourceDenied if the exception matches.  It would probably
      be good to go through the various network tests and surround the calls to catch
      connection timeouts (as done with test_socket_ssl in this commit).
      a30fcb4d