diff --git a/python/pyarrow/tests/test_flight.py b/python/pyarrow/tests/test_flight.py index bb15e76499c25..29a1b3ce7f53e 100644 --- a/python/pyarrow/tests/test_flight.py +++ b/python/pyarrow/tests/test_flight.py @@ -945,8 +945,13 @@ def test_eq(): flight.FlightEndpoint( b"foo", [flight.Location("grpc+tls://localhost:1234")], None, b'') ), - lambda: (flight.FlightEndpoint(b"foo", [], pa.scalar("2023-04-05T12:34:56").cast(pa.timestamp("s")), b''), - flight.FlightEndpoint(b"foo", [], pa.scalar("2023-04-05T12:34:56.789").cast(pa.timestamp("ms")), b'')), + lambda: ( + flight.FlightEndpoint( + b"foo", [], pa.scalar("2023-04-05T12:34:56").cast(pa.timestamp("s")), + b''), + flight.FlightEndpoint( + b"foo", [], + pa.scalar("2023-04-05T12:34:56.789").cast(pa.timestamp("ms")), b'')), lambda: (flight.FlightEndpoint(b"foo", [], None, b''), flight.FlightEndpoint(b"foo", [], None, b'meta')), lambda: (