Update syntax to Python3.7+.

This commit is contained in:
Hasan Ramezani
2021-12-25 21:25:42 +01:00
parent 5599c5ad45
commit 3d7cd77017
8 changed files with 11 additions and 33 deletions

View File

@@ -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: