7373from domdf_python_tools .versions import Version
7474
7575__all__ = [
76- "generate_truthy_values" ,
77- "generate_falsy_values" ,
78- "testing_boolean_values" ,
79- "whitespace" ,
80- "whitespace_perms_list" ,
81- "whitespace_perms" ,
76+ "check_file_output" ,
77+ "check_file_regression" ,
8278 "count" ,
83- "min_version" ,
79+ "generate_falsy_values" ,
80+ "generate_truthy_values" ,
81+ "is_docker" ,
8482 "max_version" ,
83+ "min_version" ,
8584 "only_version" ,
8685 "not_windows" ,
8786 "only_windows" ,
8887 "not_pypy" ,
8988 "only_pypy" ,
90- "pytest_report_header" ,
91- "PEP_563" ,
92- "platform_boolean_factory" ,
9389 "not_macos" ,
9490 "only_macos" ,
9591 "not_docker" ,
9692 "only_docker" ,
97- "check_file_regression" ,
98- "check_file_output" ,
93+ "pytest_report_header" ,
94+ "PEP_563" ,
95+ "original_datadir" ,
96+ "platform_boolean_factory" ,
97+ "testing_boolean_values" ,
98+ "tmp_pathplus" ,
99+ "whitespace" ,
100+ "whitespace_perms" ,
101+ "whitespace_perms_list"
99102 ]
100103
101104MarkDecorator .__module__ = "_pytest.mark"
@@ -105,7 +108,7 @@ def generate_truthy_values(extra_truthy: Sequence = (), ratio: float = 1) -> Ite
105108 """
106109 Returns an iterator of strings, integers and booleans that should be considered :py:obj:`True`.
107110
108- Optionally, a random selection of the values can be returned, using the ``ratio`` argument.
111+ Optionally, a random selection of the values can be returned using the ``ratio`` argument.
109112
110113 :param extra_truthy: Additional values that should be considered :py:obj:`True`.
111114 :param ratio: The ratio of the number of values to select to the total number of values.
@@ -143,7 +146,7 @@ def generate_falsy_values(extra_falsy: Sequence = (), ratio: float = 1) -> Itera
143146 """
144147 Returns an iterator of strings, integers and booleans that should be considered :py:obj:`False`.
145148
146- Optionally, a random selection of the values can be returned, using the ``ratio`` argument.
149+ Optionally, a random selection of the values can be returned using the ``ratio`` argument.
147150
148151 :param extra_falsy: Additional values that should be considered :py:obj:`True`.
149152 :param ratio: The ratio of the number of values to select to the total number of values.
@@ -189,7 +192,7 @@ def testing_boolean_values(
189192 The parametrized arguments are ``boolean_string`` for the input value,
190193 and ``expected_boolean`` for the expected output.
191194
192- Optionally, a random selection of the values can be returned, using the ``ratio`` argument.
195+ Optionally, a random selection of the values can be returned using the ``ratio`` argument.
193196
194197 :param extra_truthy: Additional values that should be considered :py:obj:`True`.
195198 :param extra_falsy: Additional values that should be considered :py:obj:`False`.
@@ -358,6 +361,7 @@ def platform_boolean_factory(
358361 :param platform:
359362 :param versionadded:
360363 :param module: The module to set the function as belonging to in ``__module__``.
364+ If :py:obj:`None` ``__module__`` is set to ``'domdf_python_tools.testing'``.
361365
362366 :return: 2-element tuple of ``not_function``, ``only_function``.
363367
@@ -534,6 +538,7 @@ def check_file_output(
534538 :param filename:
535539 :param file_regression: The file regression fixture for the test.
536540 :param extension: The extension of the reference file.
541+ If :py:obj:`None` the extension is determined from ``filename``.
537542 :param newline: Controls how universal newlines mode works. See :func:`open`.
538543 :param \*\*kwargs: Additional keyword arguments passed to :meth:`.FileRegressionFixture.check`.
539544
0 commit comments