summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-09 20:39:33 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-09 20:39:33 +0200
commitacda04ed3cf5b8c802ff5c1aa0642545fc036d09 (patch)
tree7c3e0d9221fb5dc7cde7ac0bc2e98d7a8f980aa1 /dev-python/pycountry/files/pycountry-20.7.3-fix-tests-for-pypy3.patch
parentdev-python/freezegun: Remove old (diff)
downloadgentoo-acda04ed3cf5b8c802ff5c1aa0642545fc036d09.tar.gz
gentoo-acda04ed3cf5b8c802ff5c1aa0642545fc036d09.tar.bz2
gentoo-acda04ed3cf5b8c802ff5c1aa0642545fc036d09.zip
dev-python/pycountry: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pycountry/files/pycountry-20.7.3-fix-tests-for-pypy3.patch')
-rw-r--r--dev-python/pycountry/files/pycountry-20.7.3-fix-tests-for-pypy3.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/dev-python/pycountry/files/pycountry-20.7.3-fix-tests-for-pypy3.patch b/dev-python/pycountry/files/pycountry-20.7.3-fix-tests-for-pypy3.patch
deleted file mode 100644
index 453c57f362cd..000000000000
--- a/dev-python/pycountry/files/pycountry-20.7.3-fix-tests-for-pypy3.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-commit 57a64b69704640bd85270d886c369ef5a31eee80
-Author: Louis Sautier <sautier.louis@gmail.com>
-Date: Thu Sep 17 13:01:07 2020 +0200
-
- Do not rely on CPython-specific __builtins__ for tests
-
- This makes test_locales pass with PyPy3.
-
-diff --git a/src/pycountry/tests/test_general.py b/src/pycountry/tests/test_general.py
-index ea697ae..ad1090f 100644
---- a/src/pycountry/tests/test_general.py
-+++ b/src/pycountry/tests/test_general.py
-@@ -149,7 +149,7 @@ def test_locales():
- german = gettext.translation(
- 'iso3166', pycountry.LOCALES_DIR, languages=['de'])
- german.install()
-- assert __builtins__['_']('Germany') == 'Deutschland'
-+ assert _('Germany') == 'Deutschland'
-
-
- def test_removed_countries():