Fix python tests
This commit is contained in:
parent
d2ca349c2a
commit
000da39ada
@ -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 \
|
||||||
|
@ -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, _):
|
||||||
|
Loading…
Reference in New Issue
Block a user