Module Import alias TryExcept body ImportFrom alias Import alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ImportFrom alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore ListLoad TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TryFinally body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Break AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Str While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr Str ListLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str Call NameLoad Call NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore ListLoad Str If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr
N/A N/A sys N/A N/A pymysql.tests base N/A pymysql.cursors N/A N/A N/A Exception N/A N/A N/A N/A N/A sys path append ../pymysql pymysql.tests base N/A pymysql.cursors TestSSCursor N/A N/A base PyMySQLTestCase N/A test_SSCursor N/A N/A self N/A N/A N/A affected_rows 18446744073709551615 N/A conn N/A N/A self connections N/A 0 N/A data N/A N/A America America/Jamaica N/A America America/Los_Angeles N/A America America/Lima N/A America America/New_York N/A America America/Menominee N/A America America/Havana N/A America America/El_Salvador N/A America America/Costa_Rica N/A America America/Denver N/A America America/Detroit N/A N/A N/A cursor N/A N/A conn cursor N/A N/A pymysql cursors SSCursor N/A N/A N/A cursor execute CREATE TABLE tz_data (region VARCHAR(64),zone VARCHAR(64),name VARCHAR(64)) N/A i data N/A N/A N/A N/A cursor execute INSERT INTO tz_data VALUES (%s, %s, %s) i N/A N/A N/A self assertEqual N/A N/A conn affected_rows 1 affected_rows does not match N/A N/A N/A conn commit N/A iter 0 N/A N/A N/A cursor execute SELECT * FROM tz_data N/A True N/A N/A row N/A N/A cursor fetchone N/A N/A row None N/A N/A N/A iter 1 N/A N/A N/A self assertEqual N/A cursor rowcount affected_rows N/A cursor.rowcount != %s N/A str affected_rows N/A N/A N/A self assertEqual N/A cursor rownumber iter N/A cursor.rowcount != %s N/A str iter N/A N/A N/A self assertEqual N/A row data True Row not found in source data N/A N/A N/A cursor execute SELECT * FROM tz_data N/A N/A N/A self assertEqual N/A len N/A N/A cursor fetchall N/A len data fetchall failed. Number of rows does not match N/A N/A N/A cursor execute SELECT * FROM tz_data N/A N/A N/A self assertEqual N/A len N/A N/A cursor fetchmany 2 2 fetchmany failed. Number of rows does not match N/A True N/A N/A res N/A N/A cursor fetchone N/A N/A res None N/A N/A N/A N/A N/A cursor execute UPDATE tz_data SET zone = %s N/A Foo N/A N/A N/A conn commit N/A N/A N/A self assertEqual N/A cursor rowcount N/A len data N/A Update failed. affected_rows != %s N/A str N/A len data N/A N/A N/A cursor executemany INSERT INTO tz_data VALUES (%s, %s, %s) data N/A N/A N/A self assertEqual N/A cursor rowcount N/A len data N/A executemany failed. cursor.rowcount != %s N/A str N/A len data N/A N/A N/A N/A cursor execute DROP TABLE tz_data N/A N/A N/A cursor close N/A N/A N/A __all__ N/A TestSSCursor N/A N/A __name__ __main__ N/A N/A unittest N/A N/A N/A unittest main