TST: Run tests using a database explicitly #23928
Labels
CI
Continuous Integration
good first issue
Testing
pandas testing functions or related to the test suite
Milestone
At the moment, our tests accessing a database (in
pandas/tests/io/test_sql.py
) are being skipped if the module to connect to the database are not installed (e.g.pymysql
orpsycopg2
), or if the connection to the database doesn't succeed.This has two implications:
I think a better approach would be:
db
(i.e.@pytest.mark.db
)-m "not db"
or-m "db"
depending on whether we want to run the tests or not (this will be done with the envPATTERNS
when TST/CI: Unify CI test scripts (single and multi) and simplify the system #23924 is merged)@jreback is this ok?
The text was updated successfully, but these errors were encountered: