commit:     26c196f1ce6aa9ff0a598beeb7fcc2cdcc598f2c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May  9 17:32:44 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May  9 17:32:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c196f1

dev-python/distlib: Add missing patch

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/distlib/files/distlib-0.3.8-py313.patch | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/dev-python/distlib/files/distlib-0.3.8-py313.patch 
b/dev-python/distlib/files/distlib-0.3.8-py313.patch
new file mode 100644
index 000000000000..d47be4f566bd
--- /dev/null
+++ b/dev-python/distlib/files/distlib-0.3.8-py313.patch
@@ -0,0 +1,22 @@
+From 1c08845b05d022692252ed45cb07e9cb9647caac Mon Sep 17 00:00:00 2001
+From: Vinay Sajip <[email protected]>
+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')

Reply via email to