summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mm1ke@gentoo.org>2026-02-13 09:24:11 +0100
committerMichael Mair-Keimberger <mm1ke@gentoo.org>2026-02-13 09:24:11 +0100
commitebd19bbab9eb95d8de7eea3f23510ac38ac1d3cc (patch)
treefb0be7e436f38a2136ab83f6b140afa4d6357874 /dev-python
parent05faee965e807ef036339fb65969da781dac4910 (diff)
downloadgentoo-ebd19bbab9eb95d8de7eea3f23510ac38ac1d3cc.tar.gz
gentoo-ebd19bbab9eb95d8de7eea3f23510ac38ac1d3cc.tar.bz2
gentoo-ebd19bbab9eb95d8de7eea3f23510ac38ac1d3cc.zip
dev-python/zope-testing: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/zope-testing/files/zope-testing-6.0-test.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-python/zope-testing/files/zope-testing-6.0-test.patch b/dev-python/zope-testing/files/zope-testing-6.0-test.patch
deleted file mode 100644
index 04767ac8e3f43..0000000000000
--- a/dev-python/zope-testing/files/zope-testing-6.0-test.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From da6818492f66cb0512a2de69f1fdb15de0d07ed2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sat, 13 Sep 2025 07:51:46 +0200
-Subject: [PATCH] Use a more unique name for fake module doctests
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Change the tested "fake" module name from `fake` to `__fake__` to reduce
-the risk of collisions with real modules. This fixes test failures
-when the package is tested in a system environment where `fake.py`
-package is installed.
-
-Signed-off-by: Michał Górny <mgorny@gentoo.org>
----
- src/zope/testing/module.txt | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/zope/testing/module.txt b/src/zope/testing/module.txt
-index 6134ca2..555b526 100644
---- a/src/zope/testing/module.txt
-+++ b/src/zope/testing/module.txt
-@@ -68,13 +68,13 @@ Importing
- Let's now imagine a more complicated example, were we actually want to
- be able to import the fake module as well:
-
-- >>> setUp(test, 'fake')
-+ >>> setUp(test, '__fake__')
- >>> a = 'Hello world'
-
- The import should not fail:
-
-- >>> import fake
-- >>> fake.a
-+ >>> import __fake__
-+ >>> __fake__.a
- 'Hello world'
-
- Let's tear it down again:
-@@ -87,10 +87,10 @@ Let's tear it down again:
- .. doctest::
- :pyversion: < 3
-
-- >>> import fake
-+ >>> import __fake__
- Traceback (most recent call last):
- ...
-- ModuleNotFoundError: No module named 'fake'
-+ ModuleNotFoundError: No module named '__fake__'
-
- If we enter a dotted name, it will actually try to place the fake
- module in that dotted name: