]> arthur.ath.cx Git - bup.git/blobdiff - test/lib/buptest/__init__.py
Drop vestigial compat.str_type
[bup.git] / test / lib / buptest / __init__.py
index d9aeaaed56b53c022092cefb89d2e080773030e5..e2b5284da6eca9aacd04fc4a53b40e7d59ee568d 100644 (file)
@@ -9,7 +9,7 @@ from traceback import extract_stack
 import errno, os, subprocess, sys, tempfile
 
 from bup import helpers
-from bup.compat import fsencode, str_type
+from bup.compat import fsencode
 from bup.io import byte_stream
 
 
@@ -35,7 +35,7 @@ def run(cmd, check=True, input=None, **kwargs):
 
 def logcmd(cmd):
     s = helpers.shstr(cmd)
-    if isinstance(cmd, str_type):
+    if isinstance(cmd, str):
         print(s, file=sys.stderr)
     else:
         # bytes - for now just escape it