Fix python tests

This commit is contained in:
Deanna Garcia 2022-02-02 19:21:42 +00:00
parent d2ca349c2a
commit 000da39ada
2 changed files with 1 additions and 2 deletions

View File

@ -442,7 +442,6 @@ java_EXTRA_DIST=
java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java \ java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java \
java/core/src/test/java/com/google/protobuf/FieldPresenceTest.java \ java/core/src/test/java/com/google/protobuf/FieldPresenceTest.java \
java/core/src/test/java/com/google/protobuf/FloatArrayListTest.java \ java/core/src/test/java/com/google/protobuf/FloatArrayListTest.java \
java/core/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java \
java/core/src/test/java/com/google/protobuf/GeneratedMessageTest.java \ java/core/src/test/java/com/google/protobuf/GeneratedMessageTest.java \
java/core/src/test/java/com/google/protobuf/IntArrayListTest.java \ java/core/src/test/java/com/google/protobuf/IntArrayListTest.java \
java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java \ java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java \

View File

@ -266,7 +266,7 @@ class TimeUtilTest(TimeUtilTestBase):
message.FromDatetime(naive_end_of_time) message.FromDatetime(naive_end_of_time)
self.assertEqual(naive_end_of_time, message.ToDatetime()) self.assertEqual(naive_end_of_time, message.ToDatetime())
def testDatetimeConversionWithTimezone(self): def testDatetimeConversionWithTimezone(self):
class TZ(datetime.tzinfo): class TZ(datetime.tzinfo):
def utcoffset(self, _): def utcoffset(self, _):