1. 01 Feb, 2016 1 commit
  2. 02 Feb, 2016 1 commit
    • Martin Panter's avatar
      Issue #19587: Remove masked and redundant tests in test_bytes · 275bd96a
      Martin Panter authored
      * test_contains() did not override anything
      * test_expandtabs/upper/lower() in FixedStringTest were masking usable tests
        in string_tests. These tests now get run for bytearray() and bytes().
      * test_expandtabs/upper/lower() in buffer_tests were only run on bytearray()
        and are redundant with string_tests
      275bd96a
  3. 01 Feb, 2016 1 commit
    • Martin Panter's avatar
      Issue #26173: Separate bad cert file tests and client rejection test · 3464ea28
      Martin Panter authored
      Test test_wrong_cert() runs a server that rejects the client's certificate,
      so ECONNRESET is reasonable in addition to SSLError. On the other hand, the
      other three tests don't even need to run a server because they are just
      testing the parsing of invalid certificate files.
      
      Also fix a ResourceWarning by closing the wrapped socket.
      3464ea28
  4. 31 Jan, 2016 1 commit
    • Victor Stinner's avatar
      Enhance os.scandir() doc · 5f0c5d92
      Victor Stinner authored
      Issue #26248, patch written by Ben Hoyt:
      
      1) Clarify that the return values of is_dir()/is_file()/etc are cached
         separately for follow_symlinks True and False.
      2) Be more specific about when the functions require a system call, and how it
         relates to caching and follow_symlinks.
      3) DRY up common stuff between is_dir and is_file by saying "Caching, system
         calls made, and exceptions raised are as per is_dir" in is_file.
      4) Tweak to the first paragraph of docs for is_dir/is_file to simplify: assume
         the follow_symlinks=True default, then note the follow_symlinks=False
         non-default case after.
      5f0c5d92
  5. 30 Jan, 2016 5 commits
  6. 31 Jan, 2016 1 commit
  7. 30 Jan, 2016 2 commits
  8. 28 Jan, 2016 8 commits
  9. 29 Jan, 2016 1 commit
  10. 28 Jan, 2016 3 commits
  11. 29 Jan, 2016 1 commit
  12. 27 Jan, 2016 3 commits
  13. 26 Jan, 2016 1 commit
  14. 22 Jan, 2016 8 commits
  15. 21 Jan, 2016 3 commits