aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-assertions.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lint/lint-assertions.py')
-rwxr-xr-xtest/lint/lint-assertions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-assertions.py b/test/lint/lint-assertions.py
index 195ff33d11..e7eecebce5 100755
--- a/test/lint/lint-assertions.py
+++ b/test/lint/lint-assertions.py
@@ -12,7 +12,7 @@ import subprocess
def git_grep(params: [], error_msg: ""):
try:
- output = subprocess.check_output(["git", "grep", *params], universal_newlines=True, encoding="utf8")
+ output = subprocess.check_output(["git", "grep", *params], text=True, encoding="utf8")
print(error_msg)
print(output)
return 1