diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-04-13 16:35:28 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-04-13 16:36:51 +0200 |
| commit | 2b1667bc65dcbdcc00c565f1c31976d2c631992a (patch) | |
| tree | 172ea6eb1bade048bf159c8a1b57fbd3f2de3657 /dev-python/astunparse/files/astunparse-1.6.2-tests.patch | |
| parent | aa862233c961b1794564011738a4ab6c7209a633 (diff) | |
| download | gentoo-2b1667bc65dcbdcc00c565f1c31976d2c631992a.tar.gz gentoo-2b1667bc65dcbdcc00c565f1c31976d2c631992a.tar.bz2 gentoo-2b1667bc65dcbdcc00c565f1c31976d2c631992a.zip | |
dev-python/astunparse: Remove last-rited pkg
Bug: https://bugs.gentoo.org/911646
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/astunparse/files/astunparse-1.6.2-tests.patch')
| -rw-r--r-- | dev-python/astunparse/files/astunparse-1.6.2-tests.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-python/astunparse/files/astunparse-1.6.2-tests.patch b/dev-python/astunparse/files/astunparse-1.6.2-tests.patch deleted file mode 100644 index b82c22831a9b..000000000000 --- a/dev-python/astunparse/files/astunparse-1.6.2-tests.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/tests/common.py b/tests/common.py -index 95b9755..41123de 100644 ---- a/tests/common.py -+++ b/tests/common.py -@@ -1,6 +1,7 @@ - import codecs - import os - import sys -+import site - if sys.version_info < (2, 7): - import unittest2 as unittest - else: -@@ -175,9 +176,7 @@ class AstunparseCommonTestCase: - def check_roundtrip(self, code1, filename="internal", mode="exec"): - raise NotImplementedError() - -- test_directories = [ -- os.path.join(getattr(sys, 'real_prefix', sys.prefix), -- 'lib', 'python%s.%s' % sys.version_info[:2])] -+ test_directories = [os.path.dirname(d) for d in site.getsitepackages()] - - def test_files(self): - names = [] |
