-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove requirement for pytest
pytest was required only by the `PythonStandardRunner`, and only in the `strict_mode`. No one uses that. At first it was develop because we were concerned that users would be picky by us running pytest with `subprocess.run`, so `strict_mode` was an alternative. Since then people are starting to use ATS and that hasn't been an issue. Plus with custom runners we can solve this problem without the complications of requiring pytest. And there's a possibility (although I think it's very unlikely) that importing pytest from the CLI might cause some of the issues we were seeing when running tests from it in ATS. Who knows. In any case, removing pytest and all code associated with it.
- Loading branch information
1 parent
127e8af
commit 3cef305
Showing
7 changed files
with
39 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
pytest | ||
pytest-cov | ||
pytest-mock | ||
pytest-asyncio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.10 | ||
# by the following command: | ||
# | ||
# pip-compile tests/requirements.in | ||
# | ||
coverage[toml]==7.3.1 | ||
# via pytest-cov | ||
exceptiongroup==1.1.3 | ||
# via pytest | ||
iniconfig==2.0.0 | ||
# via pytest | ||
packaging==23.2 | ||
# via pytest | ||
pluggy==1.3.0 | ||
# via pytest | ||
pytest==7.4.2 | ||
# via | ||
# -r tests/requirements.in | ||
# pytest-asyncio | ||
# pytest-cov | ||
# pytest-mock | ||
pytest-asyncio==0.21.1 | ||
# via -r tests/requirements.in | ||
pytest-cov==4.1.0 | ||
# via -r tests/requirements.in | ||
pytest-mock==3.11.1 | ||
# via -r tests/requirements.in | ||
tomli==2.0.1 | ||
# via pytest |
Oops, something went wrong.