Skip to content

Commit cfa215c

Browse files
authoredJul 2, 2024
PYTHON-4530 - Move synchronized test code into top-level test directory (mongodb#1718)
1 parent 2d301e2 commit cfa215c

17 files changed

+851
-3805
lines changed
 

‎.evergreen/run-tests.sh

-3
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,6 @@ if [ -z "$GREEN_FRAMEWORK" ]; then
258258
# Use --capture=tee-sys so pytest prints test output inline:
259259
# https://docs.pytest.org/en/stable/how-to/capture-stdout-stderr.html
260260
python -m pytest -v --capture=tee-sys --durations=5 --maxfail=10 $TEST_ARGS
261-
if [ -z "$TEST_ARGS" ]; then # TODO: remove this in PYTHON-4528
262-
python -m pytest -v --capture=tee-sys --durations=5 --maxfail=10 test/synchronous/ $TEST_ARGS
263-
fi
264261
python -m pytest -v --capture=tee-sys --durations=5 --maxfail=10 test/asynchronous/ $TEST_ARGS
265262
else
266263
python green_framework_test.py $GREEN_FRAMEWORK -v $TEST_ARGS

‎.github/workflows/test-python.yml

-1
Original file line numberDiff line numberDiff line change
@@ -206,5 +206,4 @@ jobs:
206206
which python
207207
pip install -e ".[test]"
208208
pytest -v
209-
pytest -v test/synchronous/
210209
pytest -v test/asynchronous/

‎mypy_test.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exclude = (?x)(
77
| ^test/conftest.py$
88
)
99

10-
[mypy-pymongo.synchronous.*,gridfs.synchronous.*,test.synchronous.*]
10+
[mypy-pymongo.synchronous.*,gridfs.synchronous.*,test.*]
1111
warn_unused_ignores = false
1212
disable_error_code = unused-coroutine
1313

0 commit comments

Comments
 (0)