diff --git a/.github/workflows/lib_compat_test.py b/.github/workflows/lib_compat_test.py index d1dd918..3cd0687 100755 --- a/.github/workflows/lib_compat_test.py +++ b/.github/workflows/lib_compat_test.py @@ -61,7 +61,7 @@ def accept_symbol(sym): nm = subprocess.run( ["nm", "-uD", "--with-symbol-version", args.binary], stdout=subprocess.PIPE, - text=True, + universal_newlines=True, ) nm.check_returncode() status = 0