Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: Fix sqlite3 transactions test (pandas-dev#28450)
The sqlite connection is already in transaction when the test starts, so when the test intentionally raises an exception, the entire transaction, including the table creation, gets rolled back, so there is no table to query. Wrapping the table CREATE statement in its own transaction avoids the issue.
- Loading branch information