diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-11-13 21:30:40 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-11-13 21:41:07 +0100 |
| commit | 3eefb831a4e63a9c8c75c6e64ae2894d6478973e (patch) | |
| tree | 3be306511eee9477ffe4839813d828e45918a4df /dev-python/protobuf-python/files/protobuf-python-4.22.5-python.patch | |
| parent | 2b4f2f8d19aa7d56a3ff3f093f0d2db436d1cf64 (diff) | |
| download | gentoo-3eefb831a4e63a9c8c75c6e64ae2894d6478973e.tar.gz gentoo-3eefb831a4e63a9c8c75c6e64ae2894d6478973e.tar.bz2 gentoo-3eefb831a4e63a9c8c75c6e64ae2894d6478973e.zip | |
Rename dev-python/{protobuf-python → protobuf}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/protobuf-python/files/protobuf-python-4.22.5-python.patch')
| -rw-r--r-- | dev-python/protobuf-python/files/protobuf-python-4.22.5-python.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/dev-python/protobuf-python/files/protobuf-python-4.22.5-python.patch b/dev-python/protobuf-python/files/protobuf-python-4.22.5-python.patch deleted file mode 100644 index 65cb22d5f653..000000000000 --- a/dev-python/protobuf-python/files/protobuf-python-4.22.5-python.patch +++ /dev/null @@ -1,21 +0,0 @@ -See also https://github.com/protocolbuffers/protobuf/pull/9098 ---- a/google/protobuf/internal/json_format_test.py -+++ b/google/protobuf/internal/json_format_test.py -@@ -1060,7 +1060,7 @@ class JsonFormatTest(JsonFormatBase): - def testInvalidTimestamp(self): - message = json_format_proto3_pb2.TestTimestamp() - text = '{"value": "10000-01-01T00:00:00.00Z"}' -- self.assertRaisesRegexp( -+ self.assertRaisesRegex( - json_format.ParseError, 'Failed to parse value field: ' - 'time data \'10000-01-01T00:00:00\' does not match' - ' format \'%Y-%m-%dT%H:%M:%S\' at TestTimestamp.value.', -@@ -1097,7 +1097,7 @@ class JsonFormatTest(JsonFormatBase): - def testInvalidOneof(self): - message = json_format_proto3_pb2.TestOneof() - text = '{"oneofInt32Value": 1, "oneofStringValue": "2"}' -- self.assertRaisesRegexp( -+ self.assertRaisesRegex( - json_format.ParseError, 'Message type "proto3.TestOneof"' - ' should not have multiple "oneof_value" oneof fields at "TestOneof".', - json_format.Parse, text, message) |
