Skip to content

Commit

Permalink
remove check for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
phobson committed Oct 8, 2024
1 parent 1e0a641 commit c6da714
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions wqio/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,8 @@ def _show_system_info(): # pragma: no cover


def checkdep_tex(): # pragma: no cover
if sys.version_info[0] >= 3:

def byte2str(b):
return b.decode("ascii")

else: # pragma: no cover

def byte2str(b):
return b
def byte2str(b):
return b.decode("ascii")

try:
s = subprocess.Popen(["tex", "-version"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Expand Down

0 comments on commit c6da714

Please sign in to comment.