mirror of https://github.com/tqdm/tqdm.git
py3 test fix
This commit is contained in:
parent
9cdc7f65bb
commit
8f93743de5
|
@ -137,4 +137,4 @@ def _term_move_up(): # pragma: no cover
|
|||
|
||||
def _sh(*cmd, **kwargs):
|
||||
return subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||
**kwargs).communicate()[0]
|
||||
**kwargs).communicate()[0].decode('utf-8')
|
||||
|
|
|
@ -9,7 +9,7 @@ from tests_tqdm import with_setup, pretest, posttest, _range
|
|||
|
||||
def _sh(*cmd, **kwargs):
|
||||
return subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||
**kwargs).communicate()[0]
|
||||
**kwargs).communicate()[0].decode('utf-8')
|
||||
|
||||
|
||||
# WARNING: this should be the last test as it messes with sys.stdin, argv
|
||||
|
|
Loading…
Reference in New Issue