summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-03-28 10:29:00 -0700
committerZac Medico <zmedico@gentoo.org>2017-03-28 10:29:31 -0700
commitfaf4fdf1e6895856394258b9f9d198b05c6e3f5d (patch)
tree5d1a754f917fc0391a5ba50a4b283d4dd3e69a50 /dev-python
parentdev-scheme/guile-gtk: drop to ~arch with deps bug #577630 (diff)
downloadgentoo-faf4fdf1e6895856394258b9f9d198b05c6e3f5d.tar.gz
gentoo-faf4fdf1e6895856394258b9f9d198b05c6e3f5d.tar.bz2
gentoo-faf4fdf1e6895856394258b9f9d198b05c6e3f5d.zip
dev-python/unittest2: fix unit tests for python3.6 (bug 613652)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/unittest2/files/unittest2-1.1.0-python3.5-test.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/unittest2/files/unittest2-1.1.0-python3.5-test.patch b/dev-python/unittest2/files/unittest2-1.1.0-python3.5-test.patch
index 78d71c9dc6eb..4aae9d04b2f8 100644
--- a/dev-python/unittest2/files/unittest2-1.1.0-python3.5-test.patch
+++ b/dev-python/unittest2/files/unittest2-1.1.0-python3.5-test.patch
@@ -6,7 +6,7 @@ index 683f662..347eea5 100644
#
# What happens when an impossible name is given, relative to the provided
# `module`?
-+ @unittest.skipIf(sys.version_info[:2] == (3, 5), "python 3.5 has problems here")
++ @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here")
def test_loadTestsFromName__relative_malformed_name(self):
loader = unittest.TestLoader()
@@ -14,7 +14,7 @@ index 683f662..347eea5 100644
# TestCase or TestSuite instance."
#
# What happens when presented with an impossible module name?
-+ @unittest.skipIf(sys.version_info[:2] == (3, 5), "python 3.5 has problems here")
++ @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here")
def test_loadTestsFromNames__malformed_name(self):
loader = unittest2.TestLoader()
@@ -22,7 +22,7 @@ index 683f662..347eea5 100644
# "The method optionally resolves name relative to the given module"
#
# What happens when presented with an impossible attribute name?
-+ @unittest.skipIf(sys.version_info[:2] == (3, 5), "python 3.5 has problems here")
++ @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here")
def test_loadTestsFromNames__relative_malformed_name(self):
loader = unittest.TestLoader()