You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/03/20 13:08:41 UTC

[GitHub] [arrow-adbc] paleolimbot commented on issue #456: [Python] Test failure when verifying Python release candidate

paleolimbot commented on issue #456:
URL: https://github.com/apache/arrow-adbc/issues/456#issuecomment-1476205470

   I got this one again when verifying 0.3.0 rc1 on MacOS El Capitan (x86):
   
   ```
   =================================== FAILURES ===================================
   _____________________________ test_query_fetch_py ______________________________
   
   sqlite = <adbc_driver_manager.dbapi.Connection object at 0x11665ce10>
   
       @pytest.mark.sqlite
       def test_query_fetch_py(sqlite):
           with sqlite.cursor() as cur:
               cur.execute('SELECT 1, "foo", 2.0')
               assert cur.description == [
                   ("1", dbapi.NUMBER, None, None, None, None, None),
                   ('"foo"', dbapi.STRING, None, None, None, None, None),
                   ("2.0", dbapi.NUMBER, None, None, None, None, None),
               ]
               assert cur.rownumber == 0
               assert cur.fetchone() == (1, "foo", 2.0)
               assert cur.rownumber == 1
               assert cur.fetchone() is None
       
               cur.execute('SELECT 1, "foo", 2.0')
   >           assert cur.fetchmany() == [(1, "foo", 2.0)]
   E           AssertionError: assert [(None, None, None)] == [(1, 'foo', 2.0)]
   E             At index 0 diff: (None, None, None) != (1, 'foo', 2.0)
   E             Full diff:
   E             - [(1, 'foo', 2.0)]
   E             + [(None, None, None)]
   
   /var/folders/4v/hvphchw50373drst9g5smz1w0000gn/T/arrow-adbc-0.3.0.XXXXX.HSDHXV0l/apache-arrow-adbc-0.3.0/python/adbc_driver_manager/tests/test_dbapi.py:193: AssertionError
   =========================== short test summary info ============================
   FAILED ../../../../../../../../var/folders/4v/hvphchw50373drst9g5smz1w0000gn/T/arrow-adbc-0.3.0.XXXXX.HSDHXV0l/apache-arrow-adbc-0.3.0/python/adbc_driver_manager/tests/test_dbapi.py::test_query_fetch_py - AssertionError: assert [(None, None, None)] == [(1, 'foo', 2.0)]
   ========================= 1 failed, 40 passed in 4.29s =========================
   Failed to verify release candidate. See /var/folders/4v/hvphchw50373drst9g5smz1w0000gn/T/arrow-adbc-0.3.0.XXXXX.HSDHXV0l for details.
   ```
   
   Full log: https://gist.github.com/paleolimbot/f8bc2f379a9a9af5278cb23fad319cd9


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org