Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/test_cratedb_pandas_read.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

import pandas as pd
import pytest
import sqlalchemy as sa
Expand All @@ -8,7 +10,8 @@
SQL_SELECT_STATEMENT = "SELECT mountain, height FROM sys.summits ORDER BY height DESC LIMIT 1;"


pytest.skip("Does not work on Python 3.7", allow_module_level=True)
if sys.version_info < (3, 8):
pytest.skip("Does not work on Python 3.7", allow_module_level=True)


def test_crate_read_sql(cratedb_http_host, cratedb_http_port):
Expand Down
5 changes: 4 additions & 1 deletion tests/test_cratedb_pandas_write.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

import pandas as pd
import pytest
import sqlalchemy as sa
Expand All @@ -9,7 +11,8 @@
SQL_REFRESH_STATEMENT = "REFRESH TABLE doc.foo;"


pytest.skip("Does not work on Python 3.7", allow_module_level=True)
if sys.version_info < (3, 8):
pytest.skip("Does not work on Python 3.7", allow_module_level=True)


def test_crate_to_sql(cratedb_http_host, cratedb_http_port):
Expand Down