Tests for twisted.python.compat
.
Class | IOTypeTests | Test cases for determining a file-like object's type. |
Class | CompatTests | Various utility functions in twisted.python.compat provide
same functionality as modern Python variants. |
Class | IPv6Tests | inet_pton and inet_ntop implementations
support IPv6. |
Class | ExecfileCompatTests | Tests for the Python 3-friendly execfile
implementation. |
Class | PY3Tests | Identification of Python 2 vs. Python 3. |
Class | PYPYTest | Identification of PyPy. |
Class | Comparable | Objects that can be compared to each other, but not others. |
Class | ComparableTests | comparable
decorated classes emulate Python 2's __cmp__ semantics. |
Class | Python3ComparableTests | Python 3-specific functionality of comparable . |
Class | CmpTests | cmp should
behave like the built-in Python 2 cmp . |
Class | StringTests | Compatibility functions and types for strings. |
Class | NetworkStringTests | Tests for networkString . |
Class | ReraiseTests | reraise
re-raises exceptions on both Python 2 and Python 3. |
Class | Python3BytesTests | Tests for iterbytes , intToBytes ,
lazyByteSlice . |
Class | BytesEnvironTests | Tests for BytesEnviron . |
Class | CoercedUnicodeTests | Tests for twisted.python.compat._coercedUnicode . |
Class | UnichrTests | Tests for unichr . |
Class | RawInputTests | Tests for raw_input |
Class | FutureBytesReprTests | Tests for twisted.python.compat._bytesRepr . |
Class | GetAsyncParamTests | Tests for twisted.python.compat._get_async_param |