Skip to content

Commit 8079d6c

Browse files
authored
Merge branch 'master' into association_proxy-support
2 parents 4f3d44f + 421f8e4 commit 8079d6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graphene_sqlalchemy/tests/test_converter.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ class Model(declarative_base()):
5151
def test_should_unknown_sqlalchemy_field_raise_exception():
5252
re_err = "Don't know how to convert the SQLAlchemy field"
5353
with pytest.raises(Exception, match=re_err):
54-
get_field(types.Binary())
54+
# support legacy Binary type and subsequent LargeBinary
55+
get_field(getattr(types, 'LargeBinary', types.Binary)())
5556

5657

5758
def test_should_date_convert_string():

0 commit comments

Comments
 (0)