Skip to content

Commit 5edecd6

Browse files
authored
Merge branch 'main' into 13737-require-unique-paramset-ids
2 parents 2af8016 + 527b46d commit 5edecd6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/en/getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The ``[100%]`` refers to the overall progress of running all test cases. After i
7373
Run multiple tests
7474
----------------------------------------------------------
7575

76-
``pytest`` will run all files of the form test_*.py or \*_test.py in the current directory and its subdirectories. More generally, it follows :ref:`standard test discovery rules <test discovery>`.
76+
``pytest`` will run all files of the form ``test_*.py`` or ``*_test.py`` in the current directory and its subdirectories. More generally, it follows :ref:`standard test discovery rules <test discovery>`.
7777

7878

7979
Assert that a certain exception is raised

testing/test_unittest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,10 +1322,12 @@ def test_async_support(pytester: Pytester) -> None:
13221322
reprec.assertoutcome(failed=1, passed=2)
13231323

13241324

1325+
@pytest.mark.skipif(
1326+
sys.version_info >= (3, 11), reason="asynctest is not compatible with Python 3.11+"
1327+
)
13251328
def test_asynctest_support(pytester: Pytester) -> None:
13261329
"""Check asynctest support (#7110)"""
13271330
pytest.importorskip("asynctest")
1328-
13291331
pytester.copy_example("unittest/test_unittest_asynctest.py")
13301332
reprec = pytester.inline_run()
13311333
reprec.assertoutcome(failed=1, passed=2)

0 commit comments

Comments
 (0)