Skip to content

Instantly share code, notes, and snippets.

@zzzeek
Created February 10, 2014 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zzzeek/8925335 to your computer and use it in GitHub Desktop.
Save zzzeek/8925335 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test.ext.declarative.test_mixin.DeclarativeMixinTest.test_col_copy_vs_declared_attr_single_propagation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/classic/dev/sqlalchemy/test/ext/declarative/test_mixin.py", line 814, in test_col_copy_vs_declared_attr_single_propagation
class B(A):
File "/Users/classic/dev/sqlalchemy/./lib/sqlalchemy/ext/declarative/api.py", line 53, in __init__
_as_declarative(cls, classname, cls.__dict__)
File "/Users/classic/dev/sqlalchemy/./lib/sqlalchemy/ext/declarative/base.py", line 306, in _as_declarative
(c, cls, inherited_table.c[c.name])
ArgumentError: Column 'b' on class <class 'test.ext.declarative.test_mixin.B'> conflicts with existing column 'a.b'
======================================================================
FAIL: test.ext.declarative.test_mixin.DeclarativeMixinTest.test_col_copy_vs_declared_attr_joined_propagation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/classic/dev/sqlalchemy/test/ext/declarative/test_mixin.py", line 779, in test_col_copy_vs_declared_attr_joined_propagation
assert 'b' not in B.__table__.c
AssertionError
======================================================================
FAIL: test.ext.declarative.test_mixin.DeclarativeMixinTest.test_col_copy_vs_declared_attr_joined_propagation_newname
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/classic/dev/sqlalchemy/test/ext/declarative/test_mixin.py", line 800, in test_col_copy_vs_declared_attr_joined_propagation_newname
assert 'b1' not in B.__table__.c
AssertionError
======================================================================
FAIL: test.ext.declarative.test_mixin.DeclarativeMixinTest.test_honor_class_mro_one
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/classic/dev/sqlalchemy/test/ext/declarative/test_mixin.py", line 1007, in test_honor_class_mro_one
assert "x" not in Child.__table__.c
AssertionError
----------------------------------------------------------------------
Ran 191 tests in 1.626s
FAILED (errors=1, failures=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment