diff options
author | 2017-05-14 01:29:30 -0700 | |
---|---|---|
committer | 2017-05-14 02:29:28 -0700 | |
commit | 49c4bbb2604de2cbda3017cb879df3c7c3f21272 (patch) | |
tree | 000994eda01b9c81f51cbc9afde17d631543a249 /dev-python/snakeoil/files | |
parent | dev-lang/vala: bump to 0.34.8 (diff) | |
download | gentoo-49c4bbb2604de2cbda3017cb879df3c7c3f21272.tar.gz gentoo-49c4bbb2604de2cbda3017cb879df3c7c3f21272.tar.bz2 gentoo-49c4bbb2604de2cbda3017cb879df3c7c3f21272.zip |
dev-python/snakeoil: Add python3.6 to PYTHON_COMPAT
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python/snakeoil/files')
-rw-r--r-- | dev-python/snakeoil/files/snakeoil-0.7.1-test.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/snakeoil/files/snakeoil-0.7.1-test.patch b/dev-python/snakeoil/files/snakeoil-0.7.1-test.patch new file mode 100644 index 000000000000..73e2701b0eb2 --- /dev/null +++ b/dev-python/snakeoil/files/snakeoil-0.7.1-test.patch @@ -0,0 +1,31 @@ +From 8ee72903bc714725fbcfdcc38b9228772758b890 Mon Sep 17 00:00:00 2001 +From: Tim Harder <radhermit@gmail.com> +Date: Fri, 27 Jan 2017 11:54:39 -0500 +Subject: [PATCH] test: fix delayed instantiation tests for py3.6 + +--- + snakeoil/test/test_obj.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/snakeoil/test/test_obj.py b/snakeoil/test/test_obj.py +index abcad55..f8aafd2 100644 +--- a/snakeoil/test/test_obj.py ++++ b/snakeoil/test/test_obj.py +@@ -29,7 +29,7 @@ def test_simple(self): + + def test_descriptor_awareness(self): + def assertKls(cls, ignores=(), +- default_ignores=("__new__", "__init__", ++ default_ignores=("__new__", "__init__", "__init_subclass__", + "__getattribute__", "__class__", + "__getnewargs__", "__doc__")): + required = set(x for x in dir(cls) +@@ -53,7 +53,7 @@ def test_BaseDelayedObject(self): + # assert that all methods/descriptors of object + # are covered via the base. + o = set(dir(object)).difference("__%s__" % x for x in [ +- "class", "getattribute", "new", "init", "doc"]) ++ "class", "getattribute", "new", "init", "init_subclass", "doc"]) + diff = o.difference(obj.base_kls_descriptors) + self.assertFalse(diff, msg=( + "base delayed instantiation class should cover all of object, but " |