Kaydet (Commit) f678e822 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Oops, forgot issue number

üst a5016cd0
......@@ -129,7 +129,7 @@ class TestcStringIO(TestGenericStringIO):
MODULE = cStringIO
def test_array_support(self):
# Issue
# Issue #1730114: cStringIO should accept array objects
a = array.array('B', [0,1,2])
f = self.MODULE.StringIO(a)
self.assertEqual(f.getvalue(), '\x00\x01\x02')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment