Copilot commented on code in PR #15388:
URL: https://github.com/apache/iotdb/pull/15388#discussion_r2055737263


##########
iotdb-client/client-py/tests/integration/test_tablemodel_query.py:
##########
@@ -372,13 +384,22 @@ def test_query_data():
             for i in range(rows):
                 for j in range(columns):
                     if pd.isna(df.iloc[i, j]):
-                        assert values[i][j] is None
+                        continue
                     elif isinstance(values[i][j], float):
                         assert math.isclose(
                             df.iloc[i, j],
                             values[i][j],
                             rel_tol=1e-6,
                         )
+                    elif isinstance(df.iloc[i, j], pd.Timestamp):
+                        actual = df.iloc[i, j]
+                        expected = pd.Series(
+                            convert_to_timestamp(
+                                values[i][j], "ms", get_localzone_name()
+                            )
+                        )[0]
+                        print(expected, actual)

Review Comment:
   [nitpick] Consider removing the debug print statement as it might clutter 
the test output in production.
   ```suggestion
                           # Debugging information removed to avoid cluttering 
test output
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to