15
0
Files
python-google-auth/no-python3.patch

21 lines
623 B
Diff
Raw Normal View History

diff -Nru google-auth-2.16.1.orig/tests/test__cloud_sdk.py google-auth-2.16.1/tests/test__cloud_sdk.py
--- google-auth-2.16.1.orig/tests/test__cloud_sdk.py 2023-03-02 12:24:06.384913745 +0100
+++ google-auth-2.16.1/tests/test__cloud_sdk.py 2023-03-02 12:24:46.165672899 +0100
@@ -16,6 +16,7 @@
import json
import os
import subprocess
+import sys
from unittest import mock
import pytest # type: ignore
@@ -73,7 +74,7 @@
def test__run_subprocess_ignore_stderr():
command = [
- "python",
+ sys.executable,
"-c",
"from __future__ import print_function;"
+ "import sys;"