summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaurits van Rees <maurits@vanrees.org>2017-04-22 11:45:46 +0200
committerMaurits van Rees <maurits@vanrees.org>2017-04-22 12:54:24 +0200
commitf337f4233bc216df01282c82508bd692782db43b (patch)
treec402c5b74716a82a4e07c132d8329b83029c8a6b /src
parente3819d3e2f9687211ae198af42554e4a77d09ce9 (diff)
downloadzope-interface-travis-36.tar.gz
Added Travis, appveyor, tox, manylinux for 3.6 branch.travis-36
Copied from master branch, but removed the Python 3 stuff, which is unsupported on the 3.6 branch. Well, 3.1 seems supported, but that is very old, and on 3.3 I got errors locally. Also removed 'docs' from the tox envs, as that proved tricky to get to work, and has changed much. Removed 'TODO_test_classProvides_fails_for_odd_class' test method, which would always fail but be ignored due to its name, except that the coverage tests would *not* ignore it, leading to a failure.
Diffstat (limited to 'src')
-rw-r--r--src/zope/interface/tests/test_odd_declarations.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/zope/interface/tests/test_odd_declarations.py b/src/zope/interface/tests/test_odd_declarations.py
index 973bd5e..3fdd171 100644
--- a/src/zope/interface/tests/test_odd_declarations.py
+++ b/src/zope/interface/tests/test_odd_declarations.py
@@ -179,17 +179,6 @@ class Test(unittest.TestCase):
def test_directlyProvides_fails_for_odd_class(self):
self.assertRaises(TypeError, directlyProvides, C, I5)
- # see above
- def TODO_test_classProvides_fails_for_odd_class(self):
- try:
- class A(Odd):
- classProvides(I1)
- except TypeError:
- pass # Sucess
- self.assert_(False,
- "Shouldn't be able to use directlyProvides on odd class."
- )
-
def test_implementedBy(self):
class I2(I1): pass