Skip to content

Commit

Permalink
Remove item getattr check
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Aug 15, 2023
1 parent e85dd84 commit f4de2f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions testr/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ def __init__(self, stdout):
self._stdout = stdout

def __getattr__(self, item):
if item == "isatty":
return self.isatty
else:
return getattr(self._stdout, item)
return getattr(self._stdout, item)

def isatty(self):
return False
Expand Down

0 comments on commit f4de2f4

Please sign in to comment.