diff options
author | Yuchen Xie <yuchen.xie@live.com> | 2018-06-26 06:20:53 +0800 |
---|---|---|
committer | Jie Luo <anandolee@gmail.com> | 2018-06-25 15:20:53 -0700 |
commit | 595231dd5cc92c3ac64faa39f22707b5ec58731a (patch) | |
tree | 815fdbda53551ae7373845f053848451ea8310be /python/google/protobuf/internal | |
parent | d65d5821bc76a5e43bfac0a227d970f5bc88b789 (diff) |
Update minimal Python version to 2.7 (#4207)
Diffstat (limited to 'python/google/protobuf/internal')
-rw-r--r-- | python/google/protobuf/internal/json_format_test.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python/google/protobuf/internal/json_format_test.py b/python/google/protobuf/internal/json_format_test.py index d891dce1..7f649406 100644 --- a/python/google/protobuf/internal/json_format_test.py +++ b/python/google/protobuf/internal/json_format_test.py @@ -791,9 +791,6 @@ class JsonFormatTest(JsonFormatBase): json_format.Parse(text, parsed_message, ignore_unknown_fields=True) def testDuplicateField(self): - # Duplicate key check is not supported for python2.6 - if sys.version_info < (2, 7): - return self.CheckError('{"int32Value": 1,\n"int32Value":2}', 'Failed to load JSON: duplicate key int32Value.') |