Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions python_tests/test_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,11 @@ def test_enum_value_repr_lookup_in_python_collection(db0_fixture):
# look up by enum value repr
assert Colors.values()[0] not in set()
assert Colors.values()[0] not in {}


# FIXME: https://github.com/dbzero-software/dbzero/issues/457
# def test_enum_value_repr_after_init(db0_fixture):
# Colors = db0.enum("Colors", ["RED", "GREEN", "BLUE"])
# db0.close()
# db0.init(DB0_DIR)
# _ = Colors.RED