raphi rose added the comment: the test_httplib
rrose@intern:~/temp/Python-3.5.1$ ./python -m test -v test_httplib == CPython 3.5.1 (default, Jun 23 2016, 15:03:20) [GCC 4.8.4] == Linux-3.13.0-88-generic-x86_64-with-debian-jessie-sid little-endian == hash algorithm: siphash24 64bit == /home/rrose/temp/Python-3.5.1/build/test_python_28888 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0) [1/1] test_httplib test_auto_headers (test.test_httplib.HeaderTests) ... ok test_content_length_0 (test.test_httplib.HeaderTests) ... ok test_invalid_headers (test.test_httplib.HeaderTests) ... ok test_ipv6host_header (test.test_httplib.HeaderTests) ... ok test_malformed_headers_coped_with (test.test_httplib.HeaderTests) ... ok test_putheader (test.test_httplib.HeaderTests) ... ok test_all (test.test_httplib.OfflineTest) ... ok test_client_constants (test.test_httplib.OfflineTest) ... ok test_responses (test.test_httplib.OfflineTest) ... ok test_bad_status_repr (test.test_httplib.BasicTest) ... ok test_chunked (test.test_httplib.BasicTest) ... ok test_chunked_extension (test.test_httplib.BasicTest) ... ok test_chunked_head (test.test_httplib.BasicTest) ... ok test_chunked_missing_end (test.test_httplib.BasicTest) some servers may serve up a short chunked encoding stream ... ok test_chunked_sync (test.test_httplib.BasicTest) Check that we don't read past the end of the chunked-encoding stream ... ok test_chunked_trailers (test.test_httplib.BasicTest) See that trailers are read and ignored ... ok test_content_length_sync (test.test_httplib.BasicTest) Check that we don't read past the end of the Content-Length stream ... ok test_early_eof (test.test_httplib.BasicTest) ... ok test_epipe (test.test_httplib.BasicTest) ... ok test_error_leak (test.test_httplib.BasicTest) ... ok test_host_port (test.test_httplib.BasicTest) ... ok test_incomplete_read (test.test_httplib.BasicTest) ... ok test_negative_content_length (test.test_httplib.BasicTest) ... ok test_overflowing_chunked_line (test.test_httplib.BasicTest) ... ok test_overflowing_header_line (test.test_httplib.BasicTest) ... ok test_overflowing_status_line (test.test_httplib.BasicTest) ... ok test_partial_readintos (test.test_httplib.BasicTest) ... ok test_partial_readintos_incomplete_body (test.test_httplib.BasicTest) ... ok test_partial_readintos_no_content_length (test.test_httplib.BasicTest) ... ok test_partial_reads (test.test_httplib.BasicTest) ... ok test_partial_reads_incomplete_body (test.test_httplib.BasicTest) ... ok test_partial_reads_no_content_length (test.test_httplib.BasicTest) ... ok test_read_head (test.test_httplib.BasicTest) ... ok test_readinto_chunked (test.test_httplib.BasicTest) ... ok test_readinto_chunked_head (test.test_httplib.BasicTest) ... ok test_readinto_head (test.test_httplib.BasicTest) ... ok test_response_headers (test.test_httplib.BasicTest) ... ok test_send (test.test_httplib.BasicTest) ... ok test_send_file (test.test_httplib.BasicTest) ... ok test_send_iter (test.test_httplib.BasicTest) ... ok test_send_type_error (test.test_httplib.BasicTest) ... ok test_send_updating_file (test.test_httplib.BasicTest) ... ok test_status_lines (test.test_httplib.BasicTest) ... ok test_too_many_headers (test.test_httplib.BasicTest) ... ok testTimeoutAttribute (test.test_httplib.TimeoutTest) ... ok test_100_close (test.test_httplib.PersistenceTest) ... ok test_disconnected (test.test_httplib.PersistenceTest) ... ok test_reuse_reconnect (test.test_httplib.PersistenceTest) ... ok test_attributes (test.test_httplib.HTTPSTest) ... ok test_host_port (test.test_httplib.HTTPSTest) ... ok test_local_bad_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 42358):42358 ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)): [23/Jun/2016 15:18:58] code 404, message File not found server (('127.0.0.1', 42358):42358 ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)): [23/Jun/2016 15:18:58] "GET /nonexistent HTTP/1.1" 404 - server (('127.0.0.1', 42358):42358 ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)): [23/Jun/2016 15:18:58] code 404, message File not found server (('127.0.0.1', 42358):42358 ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)): [23/Jun/2016 15:18:58] "GET /nonexistent HTTP/1.1" 404 - stopping HTTPS server joining HTTPS thread ok test_local_good_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 50574):50574 ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)): [23/Jun/2016 15:18:58] code 404, message File not found server (('127.0.0.1', 50574):50574 ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)): [23/Jun/2016 15:18:58] "GET /nonexistent HTTP/1.1" 404 - stopping HTTPS server joining HTTPS thread ok test_local_unknown_cert (test.test_httplib.HTTPSTest) ... stopping HTTPS server Got an error: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:645) joining HTTPS thread ok test_networked (test.test_httplib.HTTPSTest) ... skipped "Use of the 'network' resource not enabled" test_networked_bad_cert (test.test_httplib.HTTPSTest) ... skipped "Use of the 'network' resource not enabled" test_networked_good_cert (test.test_httplib.HTTPSTest) ... skipped "Use of the 'network' resource not enabled" test_networked_noverification (test.test_httplib.HTTPSTest) ... skipped "Use of the 'network' resource not enabled" test_networked_trusted_by_default_cert (test.test_httplib.HTTPSTest) ... skipped "Use of the 'network' resource not enabled" test_ascii_body (test.test_httplib.RequestBodyTest) ... ok test_binary_file_body (test.test_httplib.RequestBodyTest) ... ok test_bytes_body (test.test_httplib.RequestBodyTest) ... ok test_file_body (test.test_httplib.RequestBodyTest) ... ok test_latin1_body (test.test_httplib.RequestBodyTest) ... ok test_manual_content_length (test.test_httplib.RequestBodyTest) ... ok testHTTPConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok testHTTPSConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok test_getting_header (test.test_httplib.HTTPResponseTest) ... ok test_getting_header_defaultint (test.test_httplib.HTTPResponseTest) ... ok test_getting_nonexistent_header_with_iterable_default (test.test_httplib.HTTPResponseTest) ... ok test_getting_nonexistent_header_with_string_default (test.test_httplib.HTTPResponseTest) ... ok test_getting_nonexistent_header_without_default (test.test_httplib.HTTPResponseTest) ... ok test_peek (test.test_httplib.ExtendedReadTest) ... ok test_peek_0 (test.test_httplib.ExtendedReadTest) ... ok test_read1 (test.test_httplib.ExtendedReadTest) ... ok test_read1_0 (test.test_httplib.ExtendedReadTest) ... ok test_read1_bounded (test.test_httplib.ExtendedReadTest) ... ok test_read1_unbounded (test.test_httplib.ExtendedReadTest) ... ok test_readline (test.test_httplib.ExtendedReadTest) ... ok test_peek (test.test_httplib.ExtendedReadTestChunked) ... ok test_peek_0 (test.test_httplib.ExtendedReadTestChunked) ... ok test_read1 (test.test_httplib.ExtendedReadTestChunked) ... ok test_read1_0 (test.test_httplib.ExtendedReadTestChunked) ... ok test_read1_bounded (test.test_httplib.ExtendedReadTestChunked) ... ok test_read1_unbounded (test.test_httplib.ExtendedReadTestChunked) ... ok test_readline (test.test_httplib.ExtendedReadTestChunked) ... ok test_connect_put_request (test.test_httplib.TunnelTests) ... ok test_connect_with_tunnel (test.test_httplib.TunnelTests) ... ok test_disallow_set_tunnel_after_connect (test.test_httplib.TunnelTests) ... ok test_set_tunnel_host_port_headers (test.test_httplib.TunnelTests) ... ok test_tunnel_debuglog (test.test_httplib.TunnelTests) ... ok ---------------------------------------------------------------------- Ran 90 tests in 0.177s OK (skipped=5) 1 test OK. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27375> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com