From ffb470cf54c7593e02569102665642be4b85bec2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Brigitta=20Sip=C5=91cz?= Date: Fri, 13 Sep 2024 16:01:04 -0400 Subject: [PATCH] MAINT: pytest doesn't have any more python 3.12 deprecations ### Description I believe this workaround is not needed any more, pytest doesn't have any more python deprecations. (Arguably neither 3.13) ### Checklist This pull request is: - [x] Tweek to the (testing) infrastructure - New category as I didn't think this PR fit in any of the 3 options offered. - [ ] 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: #` 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: #` in the commit message - please include tests. **Have a nice day!** Closes: #11838 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11838 Pull-request-sha: 7d500de8707cb6d89ba59922d0671afc4062de82 Change-Id: I5fef8ee799fa2dbed1d00f5a779d6b25ce3e5ae8 --- tox.ini | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 8953fbe085..0b4808e6b0 100644 --- a/tox.ini +++ b/tox.ini @@ -101,11 +101,7 @@ setenv= PYTEST_COLOR={tty:--color=yes} MYPY_COLOR={tty:--color-output} - # pytest 'rewrite' is hitting lots of deprecation warnings under py312 and - # i can't find any way to ignore those warnings, so this turns it off - py312: PYTEST_ARGS=--assert plain - - BASECOMMAND=python -m pytest {env:PYTEST_ARGS} {env:PYTEST_COLOR} --rootdir {toxinidir} --log-info=sqlalchemy.testing + BASECOMMAND=python -m pytest {env:PYTEST_COLOR} --rootdir {toxinidir} --log-info=sqlalchemy.testing WORKERS={env:TOX_WORKERS:-n4 --max-worker-restart=5} -- 2.47.2