Skip to content

Commit b94df2c

Browse files
committed
Adding more pytest options into pyproject.toml.
Signed-off-by: Mei Chu <meimchu@gmail.com>
1 parent d23173b commit b94df2c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build-backend = "setuptools.build_meta"
1818
build-verbosity = "1"
1919

2020
test-command = "python -m PyOpenColorIOTests.OpenColorIOTestSuite"
21-
test-requires = ["numpy"]
21+
test-requires = ["numpy", "pytest"]
2222

2323
manylinux-x86_64-image = "manylinux2014"
2424
manylinux-i686-image = "manylinux2014"
@@ -36,4 +36,6 @@ before-build = "bash -c share/ci/scripts/windows/install_docs_env.sh"
3636
[tool.pytest.ini_options]
3737
python_files = "*Test.py"
3838
python_classes = "Test"
39-
python_functions = "test_*"
39+
python_functions = "test_*"
40+
addopts = ["--disable-warnings"]
41+
testpaths = ["tests/python"]

0 commit comments

Comments
 (0)