py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m pytest -W error::DeprecationWarning -v ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python cachedir: .tox/py$(PYV)/.pytest_cache rootdir: $(@D) configfile: tox.ini collecting ... collected 169 items tests/test_auth.py::TestGuessAuth::test_basic PASSED tests/test_auth.py::TestGuessAuth::test_digest PASSED tests/test_auth.py::TestGuessAuth::test_no_auth PASSED tests/test_auth.py::TestGuessProxyAuth::test_handle_407_header_basic PASSED tests/test_auth.py::TestGuessProxyAuth::test_handle_407_header_digest PASSED tests/test_auth_handler.py::test_turns_tuples_into_basic_auth PASSED tests/test_auth_handler.py::test_uses_null_strategy_for_non_matching_domains PASSED tests/test_auth_handler.py::test_normalizes_domain_keys PASSED tests/test_auth_handler.py::test_can_add_new_strategies PASSED tests/test_auth_handler.py::test_prepares_auth_correctly PASSED tests/test_downloadutils.py::test_get_download_file_path_uses_content_disposition PASSED tests/test_downloadutils.py::test_get_download_file_path_directory PASSED tests/test_downloadutils.py::test_get_download_file_path_specific_file PASSED tests/test_downloadutils.py::test_stream_response_to_file_uses_content_disposition PASSED tests/test_downloadutils.py::test_stream_response_to_specific_filename PASSED tests/test_downloadutils.py::test_stream_response_to_directory PASSED tests/test_downloadutils.py::test_stream_response_to_existing_file PASSED tests/test_downloadutils.py::test_stream_response_to_file_like_object PASSED tests/test_downloadutils.py::test_stream_response_to_file_chunksize PASSED tests/test_downloadutils.py::test_tee PASSED tests/test_downloadutils.py::test_tee_rejects_StringIO PASSED tests/test_downloadutils.py::test_tee_to_file PASSED tests/test_downloadutils.py::test_tee_to_bytearray PASSED tests/test_downloadutils.py::test_tee_to_bytearray_only_accepts_bytearrays PASSED tests/test_dump.py::TestSimplePrivateFunctions::test_coerce_to_bytes_skips_byte_strings PASSED tests/test_dump.py::TestSimplePrivateFunctions::test_coerce_to_bytes_converts_text PASSED tests/test_dump.py::TestSimplePrivateFunctions::test_format_header PASSED tests/test_dump.py::TestSimplePrivateFunctions::test_format_header_handles_unicode PASSED tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path PASSED tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path_with_query_string PASSED tests/test_dump.py::TestSimplePrivateFunctions::test_build_request_path_with_proxy_info PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_sans_proxy PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_with_proxy_over_http PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_get_proxy_information_with_proxy_over_https PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_dump_request_data PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_dump_non_string_request_data PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_dump_request_data_with_proxy_info PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_dump_response_data PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_dump_response_data_with_older_http_version PASSED tests/test_dump.py::TestResponsePrivateFunctions::test_dump_response_data_with_unknown_http_version PASSED tests/test_dump.py::TestResponsePublicFunctions::test_dump_response_fails_without_request PASSED tests/test_dump.py::TestResponsePublicFunctions::test_dump_response_uses_provided_bytearray PASSED tests/test_dump.py::TestDumpRealResponses::test_dump_response PASSED tests/test_dump.py::TestDumpRealResponses::test_dump_all PASSED tests/test_fingerprintadapter.py::TestFingerprintAdapter::test_fingerprint PASSED tests/test_forgetfulcookiejar.py::TestForgetfulCookieJar::test_cookies_are_ignored PASSED tests/test_formdata.py::test_urlencode_flattens_nested_structures[query0] PASSED tests/test_formdata.py::test_urlencode_flattens_nested_structures[query1] PASSED tests/test_formdata.py::test_urlencode_flattens_nested_structures[query2] PASSED tests/test_formdata.py::test_urlencode_catches_invalid_input PASSED tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_ssladapter SKIPPED tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_stream SKIPPED tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_case_insensitive_header SKIPPED tests/test_host_header_ssl_adapter.py::TestHostHeaderSSLAdapter::test_plain_requests SKIPPED tests/test_multipart_decoder.py::TestBodyPart::test_changing_encoding_changes_text PASSED tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_does_not_equal_bytes PASSED tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_equals_bytes PASSED tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_should_be_equal PASSED tests/test_multipart_decoder.py::TestBodyPart::test_equality_content_should_not_be_equal PASSED tests/test_multipart_decoder.py::TestBodyPart::test_no_crlf_crlf_in_content PASSED tests/test_multipart_decoder.py::TestBodyPart::test_no_headers PASSED tests/test_multipart_decoder.py::TestBodyPart::test_text_should_be_equal PASSED tests/test_multipart_decoder.py::TestMultipartDecoder::test_content_of_parts PASSED tests/test_multipart_decoder.py::TestMultipartDecoder::test_from_response PASSED tests/test_multipart_decoder.py::TestMultipartDecoder::test_from_responsecaplarge PASSED tests/test_multipart_decoder.py::TestMultipartDecoder::test_header_of_parts PASSED tests/test_multipart_decoder.py::TestMultipartDecoder::test_length_of_parts PASSED tests/test_multipart_decoder.py::TestMultipartDecoder::test_non_multipart_response_fails PASSED tests/test_multipart_encoder.py::TestCustomBytesIO::test_accepts_encoded_strings_with_unicode PASSED tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_get_length PASSED tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_read_after_writing_to PASSED tests/test_multipart_encoder.py::TestCustomBytesIO::test_can_read_some_after_writing_to PASSED tests/test_multipart_encoder.py::TestCustomBytesIO::test_readable PASSED tests/test_multipart_encoder.py::TestCustomBytesIO::test_truncates_intelligently PASSED tests/test_multipart_encoder.py::TestCustomBytesIO::test_writable PASSED tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header PASSED tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_accepts_custom_content_type PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_accepts_custom_headers PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_content_type PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_encodes_data_the_same PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_encodes_with_readable_data PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_empty_unicode_values PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_encoded_unicode_strings PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_handles_uncode_strings PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_length_is_correct PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_no_parts PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_open_file_objects PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_open_file_objects_using_to_string PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_open_file_objects_with_a_specified_filename PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_regresion_1 PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_regression_2 PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_streams_its_data PASSED tests/test_multipart_encoder.py::TestMultipartEncoder::test_to_string PASSED tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_bytes_read PASSED tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_callback PASSED tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_callback_called_when_reading_everything PASSED tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_content_type PASSED tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_default_callable_is_the_identity PASSED tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_from_fields PASSED tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_length PASSED tests/test_multipart_monitor.py::TestMultipartEncoderMonitor::test_read PASSED tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_digest_challenge PASSED tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_no_challenge PASSED tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_ntlm_challenge PASSED tests/test_proxy_digest_auth.py::TestProxyDigestAuth::test_with_existing_nonce PASSED tests/test_sessions.py::TestBasedSession::test_prepared_request_override_base PASSED tests/test_sessions.py::TestBasedSession::test_prepared_request_with_base PASSED tests/test_sessions.py::TestBasedSession::test_prepared_request_without_base PASSED tests/test_sessions.py::TestBasedSession::test_request_override_base PASSED tests/test_sessions.py::TestBasedSession::test_request_with_base PASSED tests/test_sessions.py::TestBasedSession::test_request_without_base PASSED tests/test_socket_options_adapter.py::test_options_passing_on_newer_requests PASSED tests/test_socket_options_adapter.py::test_options_not_passed_on_older_requests PASSED tests/test_socket_options_adapter.py::test_keep_alive_on_newer_requests_no_idle PASSED tests/test_socket_options_adapter.py::test_keep_alive_on_newer_requests_with_idle PASSED tests/test_source_adapter.py::test_source_address_adapter_string PASSED tests/test_source_adapter.py::test_source_address_adapter_tuple PASSED tests/test_source_adapter.py::test_source_address_adapter_type_error PASSED tests/test_ssladapter.py::TestSSLAdapter::test_klevas PASSED tests/test_ssladapter.py::TestSSLAdapter::test_proxies PASSED tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_all_chunks_in_one[True] PASSED tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_all_chunks_in_one[False] PASSED tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_empty_string_after_exhausting_the_iterator[True] PASSED tests/test_streaming_iterator.py::TestStreamingIterator::test_read_returns_empty_string_after_exhausting_the_iterator[False] PASSED tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_the_amount_requested[True] PASSED tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_the_amount_requested[False] PASSED tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_all_of_the_bytes[True] PASSED tests/test_streaming_iterator.py::TestStreamingIteratorWithLargeChunks::test_returns_all_of_the_bytes[False] PASSED tests/test_user_agent.py::TestUserAgentBuilder::test_include_implementation PASSED tests/test_user_agent.py::TestUserAgentBuilder::test_include_system PASSED tests/test_user_agent.py::TestUserAgentBuilder::test_includes_extras PASSED tests/test_user_agent.py::TestUserAgentBuilder::test_only_user_agent_name PASSED tests/test_user_agent.py::TestUserAgent::test_user_agent_builds_extras_appropriately PASSED tests/test_user_agent.py::TestUserAgent::test_user_agent_checks_extras_for_tuples_of_incorrect_length PASSED tests/test_user_agent.py::TestUserAgent::test_user_agent_provides_package_name PASSED tests/test_user_agent.py::TestUserAgent::test_user_agent_provides_package_version PASSED tests/test_user_agent.py::TestImplementationString::test_cpython_implementation PASSED tests/test_user_agent.py::TestImplementationString::test_pypy_implementation_final PASSED tests/test_user_agent.py::TestImplementationString::test_pypy_implementation_non_final PASSED tests/test_user_agent.py::TestImplementationString::test_unknown_implementation PASSED tests/test_x509_adapter.py::TestX509Adapter::test_requires_new_enough_requests SKIPPED tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password PASSED tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem PASSED tests/threaded/test_api.py::test_creates_a_pool_for_the_user PASSED tests/threaded/test_api.py::test_raises_a_value_error_for_non_dictionaries PASSED tests/threaded/test_api.py::test_raises_a_value_error_for_falsey_requests PASSED tests/threaded/test_api.py::test_passes_on_kwargs PASSED tests/threaded/test_pool.py::TestPool::test_auth_generator_is_called PASSED tests/threaded/test_pool.py::TestPool::test_from_exceptions_populates_a_queue PASSED tests/threaded/test_pool.py::TestPool::test_from_urls_constructs_get_requests PASSED tests/threaded/test_pool.py::TestPool::test_from_urls_constructs_get_requests_with_kwargs PASSED tests/threaded/test_pool.py::TestPool::test_get_exception_returns_none_when_queue_is_empty PASSED tests/threaded/test_pool.py::TestPool::test_get_exception_returns_thread_exception PASSED tests/threaded/test_pool.py::TestPool::test_get_response_returns_none_when_queue_is_empty PASSED tests/threaded/test_pool.py::TestPool::test_get_response_returns_thread_response PASSED tests/threaded/test_pool.py::TestPool::test_initializer_is_called PASSED tests/threaded/test_pool.py::TestPool::test_join_all PASSED tests/threaded/test_pool.py::TestPool::test_lists_are_correctly_returned PASSED tests/threaded/test_pool.py::TestPool::test_number_of_processes_can_be_arbitrary PASSED tests/threaded/test_pool.py::TestPool::test_requires_positive_number_of_processes PASSED tests/threaded/test_pool.py::TestPool::test_session_is_called PASSED tests/threaded/test_thread.py::TestSessionThread::test_handle_invalid_request PASSED tests/threaded/test_thread.py::TestSessionThread::test_handle_valid_request PASSED tests/threaded/test_thread.py::TestSessionThread::test_is_alive_proxies_to_worker PASSED tests/threaded/test_thread.py::TestSessionThread::test_join_proxies_to_worker PASSED tests/threaded/test_thread.py::TestSessionThread::test_make_request PASSED tests/threaded/test_thread.py::TestSessionThread::test_thread_initialization PASSED =============================== warnings summary =============================== tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem $(@D)/requests_toolbelt/adapters/x509.py:153: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc. if cert.not_valid_after < now or cert.not_valid_before > now: tests/test_x509_adapter.py::TestX509Adapter::test_x509_der_and_password tests/test_x509_adapter.py::TestX509Adapter::test_x509_pem $(@D)/requests_toolbelt/adapters/x509.py:153: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_before_utc. if cert.not_valid_after < now or cert.not_valid_before > now: -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======== 164 passed, 5 skipped, 4 warnings ======== py$(PYV): OK congratulations :)