mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 23:16:58 +02:00
dev-python/typing-extensions: Sync with Gentoo
It's from Gentoo commit 4b5d0e1195a81db3deb35514a1bd2b9017ebd6a5.
This commit is contained in:
parent
fd8064bd06
commit
8c0a0f7579
@ -1,28 +0,0 @@
|
||||
From 3a54ef1ff6cab8c2946a78b066fd5bba6529945a Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Rittau <srittau@rittau.biz>
|
||||
Date: Fri, 7 Oct 2022 14:47:24 +0200
|
||||
Subject: [PATCH] Fix tests when running pypy (#84)
|
||||
|
||||
Also run CI against pypy and update actions.
|
||||
|
||||
Closes: #83
|
||||
---
|
||||
.github/workflows/ci.yml | 14 +++++++-------
|
||||
src/test_typing_extensions.py | 4 ++++
|
||||
2 files changed, 11 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py
|
||||
index 15b2147..7110f96 100644
|
||||
--- a/src/test_typing_extensions.py
|
||||
+++ b/src/test_typing_extensions.py
|
||||
@@ -509,6 +509,10 @@ def blah():
|
||||
|
||||
blah()
|
||||
|
||||
+ @skipIf(
|
||||
+ sys.implementation.name == "pypy",
|
||||
+ "sum() and print() are not compiled in pypy"
|
||||
+ )
|
||||
@patch(
|
||||
f"{registry_holder.__name__}._overload_registry",
|
||||
defaultdict(lambda: defaultdict(dict))
|
@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user