Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit bf014ba

Browse files
committed
Enforce that test files need to end on _test.py
1 parent 99c4ffd commit bf014ba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
# Ignore a few test files that are (not yet) using pytest
1616
collect_ignore = [
17-
"sage/libs/gap/test_long.py",
18-
"sage/structure/test_factory.py",
1917
"sage/misc/nested_class_test.py",
2018
"sage/repl/rich_output/backend_test.py"
2119
]

src/tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,6 @@ commands = codespell \
109109
--dictionary={toxinidir}/.codespell-dictionary.txt \
110110
--ignore-words={toxinidir}/.codespell-ignore.txt \
111111
{posargs:{toxinidir}/sage/}
112+
113+
[pytest]
114+
python_files = *_test.py

0 commit comments

Comments
 (0)