cheroot.test.test__compat module#
Test suite for cross-python compatibility helpers.
- cheroot.test.test__compat.test_compat_functions_negative_nonnative(func)#
Check that compatibility functions fail loudly for incorrect input.
- cheroot.test.test__compat.test_compat_functions_positive(func, inp, out)#
Check that compatibility functions work with correct input.
- cheroot.test.test__compat.test_extract_bytes(input_argument, expected_result)#
Check that legitimate inputs produce bytes.
- cheroot.test.test__compat.test_extract_bytes_invalid()#
Ensure that invalid input causes exception to be raised.
- cheroot.test.test__compat.test_ntou_escape()#
Check that
ntou
supports escape-encoding under Python 2.