From b9eb6bf759cf6edf449291215bd4ee2c572845d2 Mon Sep 17 00:00:00 2001 From: Jie Luo Date: Wed, 7 Dec 2022 16:37:46 -0800 Subject: [PATCH] Internal change only PiperOrigin-RevId: 493742523 --- python/google/protobuf/internal/generator_test.py | 5 +++-- python/google/protobuf/internal/message_test.py | 0 python/google/protobuf/internal/reflection_test.py | 0 src/google/protobuf/compiler/python/generator.cc | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) mode change 100644 => 100755 python/google/protobuf/internal/message_test.py mode change 100644 => 100755 python/google/protobuf/internal/reflection_test.py diff --git a/python/google/protobuf/internal/generator_test.py b/python/google/protobuf/internal/generator_test.py index 291b97d932..77117c78ca 100644 --- a/python/google/protobuf/internal/generator_test.py +++ b/python/google/protobuf/internal/generator_test.py @@ -33,8 +33,9 @@ # indirect testing of the protocol compiler output. """Unittest that directly tests the output of the pure-Python protocol -compiler. See //google/protobuf/internal/reflection_test.py for a test which -further ensures that we can use Python protocol message objects as we expect. +compiler. See //google/protobuf/internal/reflection_test.py +for a test which further ensures that we can use Python protocol message +objects as we expect. """ __author__ = 'robinson@google.com (Will Robinson)' diff --git a/python/google/protobuf/internal/message_test.py b/python/google/protobuf/internal/message_test.py old mode 100644 new mode 100755 diff --git a/python/google/protobuf/internal/reflection_test.py b/python/google/protobuf/internal/reflection_test.py old mode 100644 new mode 100755 diff --git a/src/google/protobuf/compiler/python/generator.cc b/src/google/protobuf/compiler/python/generator.cc index ca382fecef..151f81c95c 100644 --- a/src/google/protobuf/compiler/python/generator.cc +++ b/src/google/protobuf/compiler/python/generator.cc @@ -77,7 +77,7 @@ namespace python { namespace { // Returns the alias we assign to the module of the given .proto filename // when importing. See testPackageInitializationImport in -// net/proto2/python/internal/reflection_test.py +// third_party/py/google/protobuf/internal/reflection_test.py // to see why we need the alias. std::string ModuleAlias(const std::string& filename) { std::string module_name = ModuleName(filename);