diff options
author | Josh Haberman <jhaberman@gmail.com> | 2015-02-25 20:17:32 -0800 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2015-02-25 20:17:32 -0800 |
commit | 0b70a43736fe070bee49141d493c74079ea68f97 (patch) | |
tree | 678b53cbc408c7520d893a8e0f705103c9f05608 /python/google/protobuf/internal/reflection_test.py | |
parent | ada65567852b96fdb4d070c0c3f86ca7b77824f9 (diff) |
Fixes for Python/C++ implementation in open-source:
* Rosy hack doesn't apply (that test should be removed
for the open-source release).
* Added our own copy of parameterized.py (the open-source
version of Google Apputils doesn't contain it).
* The C++ Descriptor object didn't implement extension_ranges.
* Had to implement a hack around returning EncodeError, to
work around the module-loading behavior of the test runner.
Diffstat (limited to 'python/google/protobuf/internal/reflection_test.py')
-rwxr-xr-x | python/google/protobuf/internal/reflection_test.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/python/google/protobuf/internal/reflection_test.py b/python/google/protobuf/internal/reflection_test.py index 8ac76c63..a62d9845 100755 --- a/python/google/protobuf/internal/reflection_test.py +++ b/python/google/protobuf/internal/reflection_test.py @@ -1803,16 +1803,6 @@ class ReflectionTest(basetest.TestCase): self.assertRaises(TypeError, unittest_pb2.TestAllTypes().__getattribute__, 42) - @basetest.unittest.skipIf( - api_implementation.Type() != 'cpp' or api_implementation.Version() != 2, - 'CPPv2-specific test') - def testRosyHack(self): - from google.protobuf.pyext import _message - from google3.gdata.rosy.proto import core_api2_pb2 - from google3.gdata.rosy.proto import core_pb2 - self.assertEqual(_message.Message, core_pb2.PageSelection.__base__) - self.assertEqual(_message.Message, core_api2_pb2.PageSelection.__base__) - # Since we had so many tests for protocol buffer equality, we broke these out # into separate TestCase classes. |