Files
MINGW-packages/mingw-w64-python/0133-Revert-Add-a-test-for-checking-the-new-launchers.patch
2022-06-10 17:54:24 +02:00

38 lines
1.4 KiB
Diff

From 23b045af0b039deac4562e2edec66db5d7a206f1 Mon Sep 17 00:00:00 2001
From: Naveen M K <naveen521kk@gmail.com>
Date: Sat, 19 Mar 2022 15:32:30 +0530
Subject: [PATCH 133/N] Revert "Add a test for checking the new launchers"
This reverts commit 1a4e8165d1b63e99a31321d4effbe4ce887a3b1c.
---
mingw_smoketests.py | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/mingw_smoketests.py b/mingw_smoketests.py
index fa03ddf..8e4bd50 100644
--- a/mingw_smoketests.py
+++ b/mingw_smoketests.py
@@ -193,19 +193,6 @@ class Tests(unittest.TestCase):
assert os.path.exists(os.path.join(tmp, "bin", "python.exe"))
assert os.path.exists(os.path.join(tmp, "bin", "python3.exe"))
subprocess.check_call([shutil.which("bash.exe"), os.path.join(tmp, "bin", "activate")])
- # This will not work in in-tree build
- if not sysconfig.is_python_build():
- env = os.environ.copy()
- env['PATH'] = 'foo;bar'
- subprocess.check_call(
- [
- os.path.join(tmp, "bin", "python.exe"),
- "-c",
- "print('Hello World')"
- ],
- env=env,
- cwd=tmp,
- )
def test_has_mktime(self):
from time import mktime, gmtime
--
2.36.1