]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Skip mypy plugin tests if incompatible or missing
authorNils Philippsen <nils@tiptoe.de>
Thu, 30 Jan 2025 13:10:55 +0000 (08:10 -0500)
committersqla-tester <sqla-tester@sqlalchemy.org>
Thu, 30 Jan 2025 13:10:55 +0000 (08:10 -0500)
commit2e5a6cccc600a7995b70af55381f075566dc01a9
treee3f50e3bdf6c729160b1f36f8ecd7a3c27ceca1e
parentfc3623990eeeb415fb076ddc96a0c7974beb2050
Skip mypy plugin tests if incompatible or missing

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

### Description
<!-- Describe your changes in detail -->

This skips Mypy plugin tests if mypy is missing or an unsupported version.

### 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:

- [ ] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed
- [x] 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: #12288
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12288
Pull-request-sha: 00e00f321d54da3e5d6112f61d5770e59e33bf82

Change-Id: I492a93d3c586425e2cf53304520164dc1487a667
test/ext/mypy/test_mypy_plugin_py3k.py