diff options
author | Craig Northway <craig.northway@gmail.com> | 2014-07-25 11:26:48 +1000 |
---|---|---|
committer | Craig Northway <craig.northway@gmail.com> | 2014-07-25 19:19:22 +1000 |
commit | a23d0d8617ba3119069e610fc7b0850a17322726 (patch) | |
tree | d8bc5213dd7e7c7f0befdf65afecb13d5435f873 /git/test/db/pygit2/lib.py | |
parent | 75194159abce545bfa38c3172efb42da9b0017dc (diff) | |
download | gitpython-a23d0d8617ba3119069e610fc7b0850a17322726.tar.gz |
Autopep8 fixes with maximum line length 120
Diffstat (limited to 'git/test/db/pygit2/lib.py')
-rw-r--r-- | git/test/db/pygit2/lib.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/git/test/db/pygit2/lib.py b/git/test/db/pygit2/lib.py index fab762e7..76441333 100644 --- a/git/test/db/pygit2/lib.py +++ b/git/test/db/pygit2/lib.py @@ -1,14 +1,15 @@ """pygit2 specific utilities, as well as all the default ones""" from git.test.lib import ( - InheritedTestMethodsOverrideWrapperMetaClsAutoMixin, - needs_module_or_skip - ) + InheritedTestMethodsOverrideWrapperMetaClsAutoMixin, + needs_module_or_skip +) __all__ = ['needs_pygit2_or_skip', 'Pygit2RequiredMetaMixin'] #{ Decoorators + def needs_pygit2_or_skip(func): """Skip this test if we have no pygit2 - print warning""" return needs_module_or_skip('pygit2')(func) @@ -17,6 +18,7 @@ def needs_pygit2_or_skip(func): #{ MetaClasses + class Pygit2RequiredMetaMixin(InheritedTestMethodsOverrideWrapperMetaClsAutoMixin): decorator = [needs_pygit2_or_skip] |