Internal change only

PiperOrigin-RevId: 493742523
pull/11164/head
Jie Luo 2 years ago committed by Copybara-Service
parent 7e861cc593
commit b9eb6bf759
  1. 5
      python/google/protobuf/internal/generator_test.py
  2. 0
      python/google/protobuf/internal/message_test.py
  3. 0
      python/google/protobuf/internal/reflection_test.py
  4. 2
      src/google/protobuf/compiler/python/generator.cc

@ -33,8 +33,9 @@
# indirect testing of the protocol compiler output. # indirect testing of the protocol compiler output.
"""Unittest that directly tests the output of the pure-Python protocol """Unittest that directly tests the output of the pure-Python protocol
compiler. See //google/protobuf/internal/reflection_test.py for a test which compiler. See //google/protobuf/internal/reflection_test.py
further ensures that we can use Python protocol message objects as we expect. for a test which further ensures that we can use Python protocol message
objects as we expect.
""" """
__author__ = 'robinson@google.com (Will Robinson)' __author__ = 'robinson@google.com (Will Robinson)'

@ -77,7 +77,7 @@ namespace python {
namespace { namespace {
// Returns the alias we assign to the module of the given .proto filename // Returns the alias we assign to the module of the given .proto filename
// when importing. See testPackageInitializationImport in // 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. // to see why we need the alias.
std::string ModuleAlias(const std::string& filename) { std::string ModuleAlias(const std::string& filename) {
std::string module_name = ModuleName(filename); std::string module_name = ModuleName(filename);

Loading…
Cancel
Save