diff options
author | Michael Howitz <mh@gocept.com> | 2021-08-30 10:21:35 +0200 |
---|---|---|
committer | Michael Howitz <mh@gocept.com> | 2021-08-30 10:21:35 +0200 |
commit | 31dc25752f7eeacf128299f721b9d0f488732cc7 (patch) | |
tree | 78b046e108863ab7b8eb09ac1afec7696962ab97 /src/zope/security/tests/module.py | |
parent | a30909b918595d41936b3bf3d549be2becd99f1d (diff) | |
download | zope-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.py | 18 |
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() |