Skip to content

Commit e16f650

Browse files
CI: use cross-shell quoting in PyPy test-command
The pp* override matches PyPy on Windows too, where the shell is cmd and does not strip single quotes, so pytest received the -k expression as literal args ('not and test_...month') and collected 0 tests. Use escaped double quotes, which work on both bash (Linux/macOS) and cmd (Windows).
1 parent 41b1c5b commit e16f650

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ environment = { CASS_DRIVER_BUILD_CONCURRENCY = "2", CASS_DRIVER_BUILD_EXTENSION
221221
select = "pp*"
222222
test-extras = []
223223
test-command = [
224-
"pytest {package}/tests/unit -v --ignore={package}/tests/unit/column_encryption -k 'not test_deserialize_date_range_month'",
224+
"pytest {package}/tests/unit -v --ignore={package}/tests/unit/column_encryption -k \"not test_deserialize_date_range_month\"",
225225
]

0 commit comments

Comments
 (0)