Files
MINGW-packages/mingw-w64-python3.10/0135-Revert-Add-a-test-for-checking-the-new-launchers.patch
2022-03-19 15:37:12 +05:30

40 lines
1.4 KiB
Diff

From 02f829ccc7c472484838cc5dd29c16b344e379e0 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 135/N] Revert "Add a test for checking the new launchers"
This reverts commit 1a4e8165d1b63e99a31321d4effbe4ce887a3b1c.
Signed-off-by: Naveen M K <naveen521kk@gmail.com>
---
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.35.1