Correct variable references.
This commit is contained in:
parent
22cd6eafd8
commit
3f701549c7
2
Error.c
2
Error.c
@ -52,7 +52,7 @@ static PyMemberDef g_ErrorMembers[] = {
|
||||
{ "offset", T_INT, offsetof(udt_Error, offset), READONLY },
|
||||
{ "message", T_OBJECT, offsetof(udt_Error, message), READONLY },
|
||||
{ "context", T_STRING, offsetof(udt_Error, context), READONLY },
|
||||
{ "isrecoverable", T_BOOL, offsetof(udt_Error, context), READONLY },
|
||||
{ "isrecoverable", T_BOOL, offsetof(udt_Error, isRecoverable), READONLY },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
import cx_Oracle
|
||||
import pickle
|
||||
|
||||
class TestBooleanVar(BaseTestCase):
|
||||
class TestError(BaseTestCase):
|
||||
|
||||
def testPickleError(self):
|
||||
"test picking/unpickling an error object"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user