Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
1.0.0
-
None
Description
Running "python3 setup.py test" shows 2 test failures:
======================================================================
|
ERROR: test_connection_default_file (test.integration.test_connection.TestConnection)
|
----------------------------------------------------------------------
|
Traceback (most recent call last):
|
File "/home/linuxjedi/Programming/Git/mariadb-connector-python/test/integration/test_connection.py", line 38, in test_connection_default_file
|
f.write("port=%i\n" % default_conf["port"])
|
KeyError: 'port'
|
|
======================================================================
|
ERROR: test_conpy67 (test.integration.test_cursor.TestCursor)
|
----------------------------------------------------------------------
|
Traceback (most recent call last):
|
File "/home/linuxjedi/Programming/Git/mariadb-connector-python/test/integration/test_cursor.py", line 937, in test_conpy67
|
cur.execute("SELECT 1 WHERE 1=2")
|
mariadb.ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE 1=2' at line 1
|
|
----------------------------------------------------------------------
|