Formating.
This commit is contained in:
@ -74,7 +74,6 @@ class Option:
|
||||
return self.default() if callable(self.default) else self.default
|
||||
|
||||
|
||||
|
||||
class Method(Option):
|
||||
"""
|
||||
A Method is a special callable-valued option, that can be used in three different ways (but for same purpose).
|
||||
|
||||
@ -15,6 +15,7 @@ class MethodBasedConfigurable(Configurable):
|
||||
|
||||
def test_one_wrapper_only():
|
||||
with pytest.raises(ConfigurationError):
|
||||
|
||||
class TwoMethods(Configurable):
|
||||
h1 = Method()
|
||||
h2 = Method()
|
||||
|
||||
Reference in New Issue
Block a user