Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr ListComp AttributeLoad Call NameLoad attr comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq Call AttributeLoad NameLoad attr Str keyword Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A platform N/A pytest N/A unittest2 uuid uuid4 pykafka.utils compression CompressionTests N/A N/A unittest2 TestCase N/A N/A Keeping these simple by verifying what goes in is what comes out. N/A text The man in black fled across the desert, and the gunslinger followed. test_gzip N/A N/A self N/A N/A N/A encoded N/A N/A compression encode_gzip N/A self text N/A N/A N/A self assertNotEqual N/A self text encoded N/A decoded N/A N/A compression decode_gzip encoded N/A N/A N/A self assertEqual N/A self text decoded N/A test_snappy N/A N/A self N/A N/A N/A encoded N/A N/A compression encode_snappy N/A self text N/A N/A N/A self assertNotEqual N/A self text encoded N/A decoded N/A N/A compression decode_snappy encoded N/A N/A N/A self assertEqual N/A self text decoded N/A test_snappy_xerial N/A N/A self N/A N/A N/A encoded N/A N/A compression encode_snappy N/A self text xerial_compatible True N/A N/A N/A self assertNotEqual N/A self text encoded N/A decoded N/A N/A compression decode_snappy encoded N/A N/A N/A self assertEqual N/A self text decoded N/A test_snappy_large_payload N/A N/A self N/A N/A N/A payload N/A N/A join N/A N/A N/A uuid4 bytes N/A i N/A range 10 N/A c N/A N/A compression encode_snappy payload N/A N/A N/A self assertEqual N/A N/A compression decode_snappy c payload N/A N/A N/A N/A pytest mark skipif N/A N/A N/A platform python_implementation PyPy reason PyPy fails to compress large messages with Snappy N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest2 main