]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add more `requires` to tests for easier dialect tests management
authorKarol Gongola <karol.gongola@cledar.com>
Wed, 26 Feb 2025 10:06:16 +0000 (05:06 -0500)
committerFederico Caselli <cfederico87@gmail.com>
Wed, 26 Feb 2025 19:37:44 +0000 (20:37 +0100)
commitefe7c6ed64835901583f27e228f8cf265f35370f
tree02447312362e7d5eff7a9499bcd598d2423d3a54
parentf3e0616aa820521bc5b97862644ea93b8c753633
Add more `requires` to tests for easier dialect tests management

<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
<!-- Describe your changes in detail -->
I am just going through starrocks dialect tests. I have figured out that adding some requires for tests may be useful also for other dialects. So this is a proposal of adding them to sqlalchemy. Please let me know if it is aligned with your approach.

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [x] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.

**Have a nice day!**

Closes: #12362
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12362
Pull-request-sha: 932d341f5f16f0c5cadc39d3a67b0f10297177ce

Change-Id: If9fa9f7477040620d131dcbe087fb4b50fd08a08
(cherry picked from commit 24b86ad6e50d4a6723a45b2580f416ca981bab55)
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_reflection.py
lib/sqlalchemy/testing/suite/test_select.py
lib/sqlalchemy/testing/suite/test_types.py