From: Michael R. Crusoe <michael.crusoe@gmail.com>
Forwarded: https://github.com/python/typing/pull/615
Subject: Run the tests using the current Python executable

Not whatever "python" might be.

--- python-typing-extensions.orig/src_py3/test_typing_extensions.py
+++ python-typing-extensions/src_py3/test_typing_extensions.py
@@ -1389,7 +1389,8 @@
         file_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),
                                  'typing_extensions.py')
         try:
-            subprocess.check_output('python -OO {}'.format(file_path),
+            subprocess.check_output('{} -OO {}'.format(sys.executable,
+                                                       file_path),
                                     stderr=subprocess.STDOUT,
                                     shell=True)
         except subprocess.CalledProcessError:
