fix the 2.x fixes for 3.x
@@ -776,7 +776,10 @@ class DeliveryTagsTest(MessagingHandler):
self.delivery_tag_verified = False
# The delivery tag we are going to send in the transfer frame
# We will later make sure that the same delivery tag shows up on the receiving end in the link routed case.
- self.delivery_tag = b'92319'
+ # KAG: force the literal to type 'str' due to SWIG weirdness: on 2.X a
+ # delivery tag cannot be unicode (must be binary), but on 3.X it must
+ # be unicode! See https://issues.apache.org/jira/browse/PROTON-1843
+ self.delivery_tag = str('92319')
self.error = None
def timeout(self):
