Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
Skip extended field type test if server is MySQL
or MariaDB server version is < 10.10
  • Loading branch information
9EOR9 committed Oct 12, 2023
1 parent 09b78a7 commit 84e4232
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testing/test/integration/test_cursor.py
Expand Up @@ -243,8 +243,9 @@ def test_buffered(self):
del cursor

def test_ext_field_types(self):
if is_mysql():
self.skipTest("Skip (MySQL)")
x = self.connection.server_version_info
if x < (10, 10, 0) or is_mysql():
self.skipTest("Skip (MySQL and MariaDB < 10.10)")
cursor = self.connection.cursor()
cursor.execute("CREATE TEMPORARY TABLE t1 (a json, b uuid, c inet4, d inet6,"\
"e point)")
Expand Down

0 comments on commit 84e4232

Please sign in to comment.