Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
software-dov committed Mar 3, 2021
1 parent 0e9c667 commit 616bfec
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions tests/test_marshal_types_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ class Bivalve(proto.Enum):
OYSTER = 1

class MolluscContainer(proto.Message):
bivalves = proto.RepeatedField(
proto.ENUM,
number=1,
enum=Bivalve,
)
bivalves = proto.RepeatedField(proto.ENUM, number=1, enum=Bivalve,)

mc = MolluscContainer()
clam = Bivalve.CLAM
Expand All @@ -86,12 +82,7 @@ class Bivalve(proto.Enum):
OYSTER = 1

class MolluscContainer(proto.Message):
bivalves = proto.MapField(
proto.STRING,
proto.ENUM,
number=1,
enum=Bivalve,
)
bivalves = proto.MapField(proto.STRING, proto.ENUM, number=1, enum=Bivalve,)

mc = MolluscContainer()
clam = Bivalve.CLAM
Expand Down

0 comments on commit 616bfec

Please sign in to comment.