Commit fd4737aa authored by Kevin Modzelewski's avatar Kevin Modzelewski

This sqlalchemy test works now

parent 42b34706
......@@ -3552,6 +3552,7 @@ void setupRuntime() {
// XXX silly that we have to set this again
new (&object_cls->attrs) HCAttrs(HiddenClass::makeSingleton());
new (&type_cls->attrs) HCAttrs(HiddenClass::makeSingleton());
object_cls->instances_are_nonzero = true;
object_cls->tp_getattro = PyObject_GenericGetAttr;
object_cls->tp_setattro = PyObject_GenericSetAttr;
object_cls->tp_init = object_init;
......
......@@ -73,6 +73,7 @@ MODULES_TO_TEST = [
'test.base.test_events',
'test.base.test_except',
'test.base.test_inspect',
'test.base.test_utils',
'test.dialect.test_mxodbc',
'test.dialect.test_pyodbc',
'test.dialect.test_sybase',
......@@ -103,7 +104,7 @@ for fn in test_files:
m = __import__(mname, fromlist=["__all__"])
for clsname in dir(m):
cls = getattr(m, clsname)
if not clsname.endswith("Test") or not isinstance(cls, type):
if clsname.startswith('_') or not clsname.endswith("Test") or not isinstance(cls, type):
continue
print "Running", cls
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment