PY3: ensure StringIO usage is py2/py3 compatible
authorNoel Power <noel.power@suse.com>
Mon, 6 Aug 2018 12:39:15 +0000 (13:39 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Oct 2018 03:50:27 +0000 (05:50 +0200)
buildtools/wafsamba/tests/test_abi.py

index 7489214699064f865802f3f2ef7cd4d4b71b2cd5..d6bdb041f7226e4c03f5b3a3c8e270db67395381 100644 (file)
@@ -21,7 +21,7 @@ from wafsamba.samba_abi import (
     normalise_signature,
     )
 
     normalise_signature,
     )
 
-from cStringIO import StringIO
+from samba.compat import StringIO
 
 
 class NormaliseSignatureTests(TestCase):
 
 
 class NormaliseSignatureTests(TestCase):