We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c3442e commit 421f8e4Copy full SHA for 421f8e4
graphene_sqlalchemy/tests/test_converter.py
@@ -50,7 +50,8 @@ class Model(declarative_base()):
50
def test_should_unknown_sqlalchemy_field_raise_exception():
51
re_err = "Don't know how to convert the SQLAlchemy field"
52
with pytest.raises(Exception, match=re_err):
53
- get_field(types.Binary())
+ # support legacy Binary type and subsequent LargeBinary
54
+ get_field(getattr(types, 'LargeBinary', types.Binary)())
55
56
57
def test_should_date_convert_string():
0 commit comments