Skip to content

Commit ee9993d

Browse files
committed
chore(test): suppress PytestCollectionWarning for TestCaseDefinition
1 parent 13bf36b commit ee9993d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ build_command = "pip install hatch && hatch build"
145145
[tool.pytest.ini_options]
146146
minversion = "6.0"
147147
addopts = "-ra -vv -rf --ignore=bundled --ignore=.hatch"
148-
filterwarnings = "ignore:.*Using or importing the ABCs from 'collections' instead of from 'collections.abc'.*:DeprecationWarning"
148+
filterwarnings = [
149+
"ignore:.*Using or importing the ABCs from 'collections' instead of from 'collections.abc'.*:DeprecationWarning",
150+
"ignore:cannot collect test class 'TestCaseDefinition'.*:pytest.PytestCollectionWarning",
151+
]
149152
testpaths = ["tests"]
150153
junit_suite_name = "robotcode"
151154
# console_output_style = "classic"

0 commit comments

Comments
 (0)