summaryrefslogtreecommitdiff
path: root/test/DebugProtoTest.thrift
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2015-12-23 21:45:06 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2016-01-02 22:54:16 +0900
commit7b8946941e5bcb1217711115fed3f6c77d73b5ef (patch)
tree081edb145dc156d63ccc0a4df959fa4d71588ffb /test/DebugProtoTest.thrift
parent6dde7f19254db71cf27df214a59d7156967237fc (diff)
downloadthrift-7b8946941e5bcb1217711115fed3f6c77d73b5ef.tar.gz
THRIFT-3504 Fix FastbinaryTest.py
Client: Python Patch: Nobuaki Sukegawa This closes #757
Diffstat (limited to 'test/DebugProtoTest.thrift')
-rw-r--r--test/DebugProtoTest.thrift10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/DebugProtoTest.thrift b/test/DebugProtoTest.thrift
index e7119c4c8..9726d004d 100644
--- a/test/DebugProtoTest.thrift
+++ b/test/DebugProtoTest.thrift
@@ -62,7 +62,7 @@ struct Nesting {
struct HolyMoley {
1: list<OneOfEach> big,
- 2: set<list<string>> contain,
+ 2: set<list<string> (python.immutable = "")> contain,
3: map<string,list<Bonk>> bonks,
}
@@ -259,10 +259,10 @@ service EmptyService {}
// The only purpose of this thing is to increase the size of the generated code
// so that ZlibTest has more highly compressible data to play with.
struct BlowUp {
- 1: map<list<i32>,set<map<i32,string>>> b1;
- 2: map<list<i32>,set<map<i32,string>>> b2;
- 3: map<list<i32>,set<map<i32,string>>> b3;
- 4: map<list<i32>,set<map<i32,string>>> b4;
+ 1: map<list<i32>(python.immutable = ""),set<map<i32,string> (python.immutable = "")>> b1;
+ 2: map<list<i32>(python.immutable = ""),set<map<i32,string> (python.immutable = "")>> b2;
+ 3: map<list<i32>(python.immutable = ""),set<map<i32,string> (python.immutable = "")>> b3;
+ 4: map<list<i32>(python.immutable = ""),set<map<i32,string> (python.immutable = "")>> b4;
}