python/samba/tests: Use io.StringIO for py3 and StringIO.StrinIO for py2
[samba.git] / python / samba / tests / blackbox / samba_dnsupdate.py
index 56416330e72ff5d5657b891d300c66878c7e3df2..d5f70ea52375b5a2c44cea73c4275385ac8c32e2 100644 (file)
@@ -17,7 +17,7 @@
 #
 
 import samba.tests
-from StringIO import StringIO
+from samba.compat import StringIO
 from samba.netcmd.main import cmd_sambatool
 from samba.credentials import Credentials
 from samba.auth import system_session