Skip to content

Commit 6d9e3c8

Browse files
committed
- Added pytest.ini as an older pytest config file.
Signed-off-by: Mei Chu <meimchu@gmail.com>
1 parent 1d86e1e commit 6d9e3c8

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
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", "pytest"]
21+
test-requires = ["numpy"]
2222

2323
manylinux-x86_64-image = "manylinux2014"
2424
manylinux-i686-image = "manylinux2014"

pytest.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# TODO: To be removed after python 2 is no longer being used by this project.
2+
# This is a temporary but necessary pytest config file to be replaced by pyproject.toml.
3+
4+
[pytest]
5+
minversion = 6.0
6+
addopts = --disable-warnings
7+
python_files = *Test.py
8+
python_classes = Test
9+
python_functions = test_*
10+
testpaths =
11+
tests/python

0 commit comments

Comments
 (0)