summaryrefslogtreecommitdiff
path: root/src/zope/security/tests/module.py
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2021-08-30 10:21:35 +0200
committerMichael Howitz <mh@gocept.com>2021-08-30 10:21:35 +0200
commit31dc25752f7eeacf128299f721b9d0f488732cc7 (patch)
tree78b046e108863ab7b8eb09ac1afec7696962ab97 /src/zope/security/tests/module.py
parenta30909b918595d41936b3bf3d549be2becd99f1d (diff)
downloadzope-security-31dc25752f7eeacf128299f721b9d0f488732cc7.tar.gz
Lint the code.
Add support for Python 3.9.
Diffstat (limited to 'src/zope/security/tests/module.py')
-rw-r--r--src/zope/security/tests/module.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/zope/security/tests/module.py b/src/zope/security/tests/module.py
index 5b26ff5..a4f9e73 100644
--- a/src/zope/security/tests/module.py
+++ b/src/zope/security/tests/module.py
@@ -21,23 +21,28 @@ modules, themselves.
from zope.interface import Interface
from zope.schema import Text
-class I(Interface):
+
+class I(Interface): # noqa: E742 ambiguous class definition 'I'
def m1():
- "m1"
+ """m1"""
+
def m2():
- "m2"
+ """m2"""
+
class I2(I):
def m4():
- "m4"
+ """m4"""
+
class I3(Interface):
def m3():
- "m3"
+ """m3"""
+
class I4(Interface):
def m2():
- "m2"
+ """m2"""
class S(Interface):
@@ -45,6 +50,7 @@ class S(Interface):
bar = Text()
baro = Text(readonly=True)
+
class S2(Interface):
foo2 = Text()
bar2 = Text()