From ec6062f29802365a6767ebc2e24ef813c8817906 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 2 Dec 2022 12:05:14 -0300 Subject: [PATCH] Update docs --- changelog/{10525.bugfix.rst => 10525.feature.rst} | 0 doc/en/explanation/goodpractices.rst | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename changelog/{10525.bugfix.rst => 10525.feature.rst} (100%) diff --git a/changelog/10525.bugfix.rst b/changelog/10525.feature.rst similarity index 100% rename from changelog/10525.bugfix.rst rename to changelog/10525.feature.rst diff --git a/doc/en/explanation/goodpractices.rst b/doc/en/explanation/goodpractices.rst index 6b3af861a..0e23e9e47 100644 --- a/doc/en/explanation/goodpractices.rst +++ b/doc/en/explanation/goodpractices.rst @@ -50,8 +50,8 @@ Conventions for Python test discovery * In those directories, search for ``test_*.py`` or ``*_test.py`` files, imported by their `test package name`_. * From those files, collect test items: - * ``test`` prefixed test functions or methods outside of class - * ``test`` prefixed test functions or methods inside ``Test`` prefixed test classes (without an ``__init__`` method) + * ``test`` prefixed test functions or methods outside of class. + * ``test`` prefixed test functions or methods inside ``Test`` prefixed test classes (without an ``__init__`` method). Methods decorated with ``@staticmethod`` and ``@classmethods`` are also considered. For examples of how to customize your test discovery :doc:`/example/pythoncollection`.