Source

pygame / test / base_test.py

Diff from to

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)