aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-locale-dependence.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lint/lint-locale-dependence.py')
-rwxr-xr-xtest/lint/lint-locale-dependence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-locale-dependence.py b/test/lint/lint-locale-dependence.py
index ce7444cd1a..c5cb34b20a 100755
--- a/test/lint/lint-locale-dependence.py
+++ b/test/lint/lint-locale-dependence.py
@@ -223,7 +223,7 @@ def find_locale_dependent_function_uses():
git_grep_output = list()
try:
- git_grep_output = check_output(git_grep_command, universal_newlines=True, encoding="utf8").splitlines()
+ git_grep_output = check_output(git_grep_command, text=True, encoding="utf8").splitlines()
except CalledProcessError as e:
if e.returncode > 1:
raise e