Skip to content

Commit

Permalink
py3 test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Apr 12, 2016
1 parent 9cdc7f6 commit 51aeb13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tqdm/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,5 @@ def _term_move_up(): # pragma: no cover


def _sh(*cmd, **kwargs):
return subprocess.Popen(cmd, stdout=subprocess.PIPE,
**kwargs).communicate()[0]
return str(subprocess.Popen(cmd, stdout=subprocess.PIPE,
**kwargs).communicate()[0])
4 changes: 2 additions & 2 deletions tqdm/tests/tests_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@


def _sh(*cmd, **kwargs):
return subprocess.Popen(cmd, stdout=subprocess.PIPE,
**kwargs).communicate()[0]
return str(subprocess.Popen(cmd, stdout=subprocess.PIPE,
**kwargs).communicate()[0])


# WARNING: this should be the last test as it messes with sys.stdin, argv
Expand Down

0 comments on commit 51aeb13

Please sign in to comment.