summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-21 18:34:25 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-21 19:09:29 +0100
commitd0b1a79a820876bb97af7ad2fa4391f7940f7524 (patch)
tree1313bfe33ef55640f269d08ad4551a30af836ef1 /dev-python/mako/files/mako-1.1.1-pypy3-test.patch
parentdev-python/mako: Set DISTUTILS_USE_SETUPTOOLS (diff)
downloadgentoo-d0b1a79a820876bb97af7ad2fa4391f7940f7524.tar.gz
gentoo-d0b1a79a820876bb97af7ad2fa4391f7940f7524.tar.bz2
gentoo-d0b1a79a820876bb97af7ad2fa4391f7940f7524.zip
dev-python/mako: Bump to 1.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mako/files/mako-1.1.1-pypy3-test.patch')
-rw-r--r--dev-python/mako/files/mako-1.1.1-pypy3-test.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/mako/files/mako-1.1.1-pypy3-test.patch b/dev-python/mako/files/mako-1.1.1-pypy3-test.patch
new file mode 100644
index 00000000000..6ae5c04ab99
--- /dev/null
+++ b/dev-python/mako/files/mako-1.1.1-pypy3-test.patch
@@ -0,0 +1,31 @@
+From 5559e0205c7fbf2f4a321a978249a41c1d073278 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Fri, 21 Feb 2020 19:03:29 +0100
+Subject: [PATCH] Skip broken test on PyPy3
+
+---
+ test/test_exceptions.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/test/test_exceptions.py b/test/test_exceptions.py
+index 2ec46cf..6a30b48 100644
+--- a/test/test_exceptions.py
++++ b/test/test_exceptions.py
+@@ -1,5 +1,6 @@
+ # -*- coding: utf-8 -*-
+ import sys
++import unittest
+
+ from mako import compat
+ from mako import exceptions
+@@ -429,6 +430,7 @@ ${foo()}
+ else:
+ assert False
+
++ @unittest.skipIf(hasattr(sys, 'pypy_version_info'), 'Broken on pypy3')
+ def test_alternating_file_names(self):
+ l = TemplateLookup()
+ l.put_string(
+--
+2.25.1
+