commit:     faf4fdf1e6895856394258b9f9d198b05c6e3f5d
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 28 17:29:00 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Mar 28 17:29:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf4fdf1

dev-python/unittest2: fix unit tests for python3.6 (bug 613652)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/unittest2/files/unittest2-1.1.0-python3.5-test.patch | 6 +++---
 1 file 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 78d71c9dc6e..4aae9d04b2f 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()
  

Reply via email to