From b8d4136454560d570740240b3bc70223514313ac Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 20 Mar 2026 21:51:45 -0400 Subject: Replace unittest with pytest --- pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 8b7536a..908f685 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,10 @@ task = "taskipy.cli:main" test = [ "parameterized==0.8.1,<0.9.0; python_version == '3.6'", "parameterized==0.9.0; python_version >= '3.7'", + "pytest>=9.0.0; python_version >= '3.10'", + "pytest>=8.0.0; python_version >= '3.8'", + "pytest>=6.2.0; python_version >= '3.6'", + ] lint = [ "mypy==1.19.1; python_version >= '3.9'", @@ -72,8 +76,8 @@ black {module_dir} {tests_dir} \ """ lint_analyze = "ruff check {module_dir} {tests_dir} --exclude {tests_dir}/fixtures" lint_types = "mypy {module_dir} {tests_dir}" -test = "python -m unittest -v {tests_dir}/test_*.py" -test_windows = "python -m unittest -v {tests_dir}\\test_windows.py" +test = "pytest -v {tests_dir}" +test_windows = "pytest -v {tests_dir}\\test_windows.py" [tool.isort] profile = "black" -- cgit v1.2.3