1
0
python-distlib/py313-interpreter-repr.patch
Matej Cepl 7ee9e54174 - Update to 0.3.9
* Merge #215: preload script wrappers on Windows to assist with a pip issue (thanks,
    Paul Moore).
  * Fix #220: Remove duplicated newline in shebang of windows launcher (thanks. A2uria).
  * Fix #230: Add handling for cross-compilation environments (thanks, Russell Keith-Magee).
  * Fix #224: Do not use the absolute path to cache wheel extensions (thanks, Stewart Miles).
  * Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file (thanks,
    Stewart Miles).
  * Fix #225: Add support for wheel compatibility with the limited API (thanks, Stewart Miles).
- Drop py313-interpreter-repr.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=32
2024-12-04 22:11:19 +00:00

23 lines
909 B
Diff

From 1c08845b05d022692252ed45cb07e9cb9647caac Mon Sep 17 00:00:00 2001
From: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Date: Wed, 14 Feb 2024 14:46:14 +0000
Subject: [PATCH] Fix #214: Update representation of interpreter in test.
---
tests/test_scripts.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_scripts.py b/tests/test_scripts.py
index 5c38687..74ee647 100644
--- a/tests/test_scripts.py
+++ b/tests/test_scripts.py
@@ -340,7 +340,7 @@ def test_script_run(self):
self.assertIn(b'<H3>Current Working Directory:</H3>', stdout)
self.assertIn(os.getcwd().encode('utf-8'), stdout)
else:
- self.assertIn(b'[Interpreter(id=0, isolated=None)]', stderr)
+ self.assertIn(b'[Interpreter(0)]', stderr)
self.assertEqual(p.returncode, 1)
@unittest.skipUnless(os.name == 'posix', 'Test only valid for POSIX')