summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorNoah Fontes <noah@noahfontes.com>2022-09-19 11:53:22 -0700
committerNoah Fontes <noah@noahfontes.com>2023-01-28 13:19:41 -0800
commit3bec41fb5e5e23b0972800c7dd2de4f749df058e (patch)
treee31d1afdc2bc26c680960093d8ee78d56fae8ba8 /doc
parent8c8a62f3fc4bc84c689ad8c6032fd68cb50bffad (diff)
doc/python: fix attr name for unittestCheckHook flags
The name should end in Array per the current conventions.

This change also contains some minor formatting fixes, as the heading
levels were inconsistent.
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/python.section.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 7b8a804106af7..0ca20617b8518 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -744,17 +744,17 @@ work in any of the formats supported by `buildPythonPackage` currently,
 with the exception of `other` (see `format` in
 [`buildPythonPackage` parameters](#buildpythonpackage-parameters) for more details).
 
-### Using unittestCheckHook {#using-unittestcheckhook}
+#### Using unittestCheckHook {#using-unittestcheckhook}
 
 `unittestCheckHook` is a hook which will substitute the setuptools `test` command for a `checkPhase` which runs `python -m unittest discover`:
 
 ```
   nativeCheckInputs = [ unittestCheckHook ];
 
-  unittestFlags = [ "-s" "tests" "-v" ];
+  unittestFlagsArray = [ "-s" "tests" "-v" ];
 ```
 
-##### Using sphinxHook {#using-sphinxhook}
+#### Using sphinxHook {#using-sphinxhook}
 
 The `sphinxHook` is a helpful tool to build documentation and manpages
 using the popular Sphinx documentation generator.