]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
refactor(testing-and-utils): Remove unused code and fix style issues
authorShamil <ashm.tech@proton.me>
Mon, 21 Apr 2025 16:35:43 +0000 (12:35 -0400)
committersqla-tester <sqla-tester@sqlalchemy.org>
Mon, 21 Apr 2025 16:35:43 +0000 (12:35 -0400)
commit64f45d0a6b4ad41cf570a8f0e09b86fba0ebb043
treed08f9e75baba2bfc19c3b479e8fd171704a91096
parent3217acc1131048aa67744e032fe8816407d8dfba
refactor(testing-and-utils): Remove unused code and fix style issues

This PR includes several small refactorings and style fixes aimed at improving code cleanliness, primarily within the test suite and tooling.

Key changes:

*   Removed assignments to unused variables in various test files (`test_dialect.py`, `test_reflection.py`, `test_select.py`).
*   Removed an unused variable in the pytest plugin (`pytestplugin.py`).
*   Removed an unused variable in the topological sort utility (`topological.py`).
*   Fixed a minor style issue (removed an extra blank line) in the `cython_imports.py` script.

Closes: #12539
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12539
Pull-request-sha: 837c1e6cb17f0ff31444d5161329c318b52e48e7

Change-Id: Ifa37fb956bc3cacd31967f08bdaa4254e16911c2
lib/sqlalchemy/testing/plugin/pytestplugin.py
lib/sqlalchemy/testing/suite/test_dialect.py
lib/sqlalchemy/testing/suite/test_reflection.py
lib/sqlalchemy/testing/suite/test_select.py
lib/sqlalchemy/util/topological.py
tools/cython_imports.py