Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Commit 74faf28

Browse files
Patrick J. McNerthneydrew0ps
authored andcommitted
Allow for multiple function-pythonic steps in a single composition.
1 parent 5546086 commit 74faf28

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/test_protobuf_messages.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def test_message(Message):
7979
struct:
8080
a: pytest
8181
'''
82+
<<<<<<< HEAD
8283
assert str(m) == format(m)
8384
assert format(m, 'yaml') == str(m)
8485
assert format(m, 'json')
@@ -88,6 +89,8 @@ def test_message(Message):
8889
assert format(m.list_string, 'protobuf')
8990
assert format(m.struct, 'protobuf')
9091
assert format(m.list, 'protobuf')
92+
=======
93+
>>>>>>> b8a1b11 (Allow for multiple function-pythonic steps in a single composition.)
9194
del m.string
9295
del m.struct.a
9396
del m.list[0]
@@ -119,8 +122,11 @@ def test_message(Message):
119122
string: called
120123
struct: {}
121124
'''
125+
<<<<<<< HEAD
122126
m.list_string('a')
123127
del m.list_string[0]
128+
=======
129+
>>>>>>> b8a1b11 (Allow for multiple function-pythonic steps in a single composition.)
124130

125131

126132
def test_exceptions(Message):
@@ -150,7 +156,10 @@ def test_exceptions(Message):
150156
ro.map_map(nope='string')
151157
with pytest.raises(ValueError):
152158
delattr(ro.map_map, 'nope')
159+
<<<<<<< HEAD
153160
with pytest.raises(ValueError):
154161
ro.list_string('a')
155162
with pytest.raises(ValueError):
156163
del ro.list_string[0]
164+
=======
165+
>>>>>>> b8a1b11 (Allow for multiple function-pythonic steps in a single composition.)

0 commit comments

Comments
 (0)