diff --git a/coolamqp/framing/definitions.py b/coolamqp/framing/definitions.py
index e387a50b53f813f3f2e4f10d25d7879806fb5e30..ff63f68ade75f1e803b29b613e846b3ab9fa8603 100644
--- a/coolamqp/framing/definitions.py
+++ b/coolamqp/framing/definitions.py
@@ -2438,7 +2438,7 @@ class BasicContentPropertyList(AMQPContentPropertyList):
         if zpf in BasicContentPropertyList.PARTICULAR_CLASSES:
             return BasicContentPropertyList.PARTICULAR_CLASSES[zpf].from_buffer(buf, offset)
         else:
-            logger.debug('Property field (BasicContentPropertyList:%s) not seen yet, compiling', repr(zpf))
+            logger.debug(u'Property field (BasicContentPropertyList:%s) not seen yet, compiling', repr(zpf))
             c = compile_particular_content_property_list_class(zpf, BasicContentPropertyList.FIELDS)
             BasicContentPropertyList.PARTICULAR_CLASSES[zpf] = c
             return c.from_buffer(buf, offset)
diff --git a/coolamqp/framing/frames.py b/coolamqp/framing/frames.py
index c819a30134bc7da2cbafcaeaae0ecbf50712b290..2f06d6deb95706d4b7f64729901cf4b8a642af7f 100644
--- a/coolamqp/framing/frames.py
+++ b/coolamqp/framing/frames.py
@@ -97,7 +97,7 @@ class AMQPBodyFrame(AMQPFrame):
         :type data: binary
         """
         AMQPFrame.__init__(self, channel)
-        assert isinstance(data, (six.binary_type, buffer, memoryview))
+        assert isinstance(data, (six.binary_type, memoryview))
         self.data = data
 
     def write_to(self, buf):