Lints.
This commit is contained in:
parent
1433f28846
commit
f37bad0e00
260 changed files with 6363 additions and 3766 deletions
|
|
@ -8,13 +8,15 @@ def version_tuple(v):
|
|||
return tuple(map(int, (v.split("."))))
|
||||
|
||||
|
||||
# Note: See https://github.com/spulec/moto/issues/201 for why this is a separate method.
|
||||
# Note: See https://github.com/spulec/moto/issues/201 for why this is a
|
||||
# separate method.
|
||||
def skip_test():
|
||||
raise SkipTest
|
||||
|
||||
|
||||
class requires_boto_gte(object):
|
||||
"""Decorator for requiring boto version greater than or equal to 'version'"""
|
||||
|
||||
def __init__(self, version):
|
||||
self.version = version
|
||||
|
||||
|
|
@ -27,6 +29,7 @@ class requires_boto_gte(object):
|
|||
|
||||
|
||||
class disable_on_py3(object):
|
||||
|
||||
def __call__(self, test):
|
||||
if not six.PY3:
|
||||
return test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue