Skip to content
Snippets Groups Projects
Verified Commit 6538bdf0 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

FIX: Fixed failing test.

parent f9e5f072
No related branches found
No related tags found
2 merge requests!39Release 0.4.0,!38MAINT: Linting tests run through now.
Pipeline #21172 passed with warnings
...@@ -813,7 +813,7 @@ class RowCFood(AbstractCFood): ...@@ -813,7 +813,7 @@ class RowCFood(AbstractCFood):
rec.add_property(key, value) rec.add_property(key, value)
class CMeal(object): class CMeal():
""" """
CMeal groups equivalent items and allow their collected insertion. CMeal groups equivalent items and allow their collected insertion.
...@@ -842,6 +842,8 @@ class CMeal(object): ...@@ -842,6 +842,8 @@ class CMeal(object):
def __init__(self): def __init__(self):
self.item = None self.item = None
# FIXME is this only necessary, because of inconsistent use of super().__init__()?
if "match" not in self.__dict__:
self.match = None self.match = None
self.__class__.existing_instances.append(self) self.__class__.existing_instances.append(self)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment