From efead1478151dff51f48246fd4287b0d7e001469 Mon Sep 17 00:00:00 2001 From: jab Date: Mon, 21 Nov 2016 05:54:31 +0000 Subject: [PATCH] appease new flake8 rule (E305) --- bidict/_common.py | 1 + tests/test_polymorphic_equality.py | 1 + 2 files changed, 2 insertions(+) diff --git a/bidict/_common.py b/bidict/_common.py index 4fcaca5..f3e9106 100644 --- a/bidict/_common.py +++ b/bidict/_common.py @@ -52,6 +52,7 @@ class DuplicationBehavior(_marker): """ + DuplicationBehavior.RAISE = RAISE = DuplicationBehavior('RAISE') DuplicationBehavior.OVERWRITE = OVERWRITE = DuplicationBehavior('OVERWRITE') DuplicationBehavior.IGNORE = IGNORE = DuplicationBehavior('IGNORE') diff --git a/tests/test_polymorphic_equality.py b/tests/test_polymorphic_equality.py index 1e60599..2efdc24 100644 --- a/tests/test_polymorphic_equality.py +++ b/tests/test_polymorphic_equality.py @@ -7,6 +7,7 @@ from itertools import product class dictsubclass(dict): pass + d = dict(H='hydrogen', He='helium') c = Counter(d) o = OrderedDict(d)