]> 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)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 24 Apr 2025 19:56:20 +0000 (21:56 +0200)
commit4bfdafe337aacc7ac03058063458091502f650f1
tree54b7803f72888e3e2543c92ab08f891d0d668eb8
parent51c12a778479b153d85f3a66c8e6ec445ceace54
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
(cherry picked from commit 64f45d0a6b4ad41cf570a8f0e09b86fba0ebb043)
(cherry picked from commit e15cb0779b42829027faea3496fa0d5163d9e2f5)
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