Skip to content

Commit

Permalink
Fix pep8 check
Browse files Browse the repository at this point in the history
  • Loading branch information
oklahomer committed Nov 8, 2015
1 parent 3cc86f6 commit 668ddb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_value_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, key1="spam", key2="ham", key3=None):
class TestOverride(object):
class MyValueWithInit(ValueObject):
def __init__(self,
pattern: Union[Pattern, AnyStr] = None,
pattern: Union[Pattern, AnyStr, None],
key1="spam") -> None:
if isinstance(pattern, str):
self['pattern'] = re.compile(pattern)
Expand Down

0 comments on commit 668ddb4

Please sign in to comment.