the Python "equals" operator is used to compare values.
:param impl: Any implementation class that support storing
- binary object. (e.g. :class: `.mysql.LONGBLOB`).
- If let as ``None``, the impl would use class's default impl
+ binary object. (e.g. :class: `_mysql.LONGBLOB`).
+ If left as ``None``, the impl would use class's default impl
`:class:`.LargeBinary`
+ .. versionadded:: 1.4.20
"""
self.protocol = protocol
assert p1.compare_values(p1.copy_value(obj), obj)
def test_customized_impl(self):
+ """test #6646"""
+
p1 = PickleType()
assert isinstance(p1.impl, LargeBinary)