Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Unified Diff: recipe_engine/third_party/google/protobuf/internal/reflection_test.py

Issue 2236673002: Bump vendoring, move to proto3 release. (Closed) Base URL: https://github.com/luci/recipes-py@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: recipe_engine/third_party/google/protobuf/internal/reflection_test.py
diff --git a/recipe_engine/third_party/google/protobuf/internal/reflection_test.py b/recipe_engine/third_party/google/protobuf/internal/reflection_test.py
index 6dc2fffe2b927afd0efb6947bca3f8b268df3c75..20e5d245d3bb6041ae71f113e5a8dffdf2bd29c4 100644
--- a/recipe_engine/third_party/google/protobuf/internal/reflection_test.py
+++ b/recipe_engine/third_party/google/protobuf/internal/reflection_test.py
@@ -972,6 +972,7 @@ class ReflectionTest(unittest.TestCase):
proto.repeated_nested_message.add(bb=23)
self.assertEqual(1, len(proto.repeated_nested_message))
self.assertEqual(23, proto.repeated_nested_message[0].bb)
+ self.assertRaises(TypeError, proto.repeated_nested_message.add, 23)
def testRepeatedCompositeRemove(self):
proto = unittest_pb2.TestAllTypes()

Powered by Google App Engine
This is Rietveld 408576698