Explorar el Código

Drop support for python2

Oz N Tiram hace 8 años
padre
commit
f6b3844d7f
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  1. 1 4
      tests/test_base_ui.py

+ 1 - 4
tests/test_base_ui.py

@@ -18,10 +18,7 @@
 # ============================================================================
 import os
 import unittest
-try:
-    from StringIO import StringIO
-except ImportError:
-    from io import StringIO, BytesIO
+from io import StringIO, BytesIO
 
 import sys
 from pwman.util.crypto_engine import CryptoEngine