Update syntax to Python3.7+.
This commit is contained in:
@@ -128,7 +128,7 @@ class LsofFdLeakChecker:
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.DEVNULL,
|
||||
check=True,
|
||||
universal_newlines=True,
|
||||
text=True,
|
||||
).stdout
|
||||
|
||||
def isopen(line: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user