Commits

Lenard Lindstrom  committed 9b76f5f

Fix Python 3.x compatibility issue introduced in changeset f7a9049e3b31

  • Participants
  • Parent commits f7a9049

Comments (0)

Files changed (1)

File test/base_test.py

 
         class Exporter(BufferMixin):
             def __init__(self, format):
-                self.format = create_string_buffer(format)
+                self.format = create_string_buffer(format.encode('ascii'))
             def _get_buffer(self, view, flags):
                 view.obj = self
                 view.format = addressof(self.format)