[go: up one dir, main page]

Menu

Code Commit Log


Commit Date  
[r9966] by milde

Review conditional test cases.

Skip tests instead of deleting samples from `totests` dictionary if
requirements for the tested feature are missing.
This way we have a record in the test output.

Reformat a skip decorator and "assertRaises" block in test_get_parser_class.py.

2024-10-22 21:41:26 Tree
[r9965] by milde

Skip functional test that requires PIL if PIL is absent.

For Docutils, PIL is a recommendation, no requirement.

It is, however, required for the extraction of the image size
from an image file and a warning is written if it it missing.
This makes the output differ from the "expected" sample on
a functional test where the "scale" option of the "image"
directive is used.

The "length_units_html5" functional test is intended to provide
an example of the length unit support for visual inspection with
a HTML browser. There are additional unit tests for the
"scale" option with and without PIL, so we can safely skip
the functional test if PIL is missing on a system.

2024-10-22 21:41:16 Tree
[r9964] by grubert

update user/manpage

2024-10-22 16:51:31 Tree
[r9963] by grubert

set report level to 1 to check image INFO

2024-10-22 16:48:31 Tree
[r9962] by grubert

Fix formatting

2024-10-22 16:45:26 Tree
[r9961] by milde

Store attribute values with datatype "yesorno" as `bool` values.

Use `bool` instead of `int` to store values of "yesorno" attributes in
Python doctree element instances.
This is the "natural" choice for "yesorno" and restores consistency
with the validating function `nodes.validate_yesorno()`.

In XML and pseudoxml output, the value is serialized as "0" or "1"
for backwards compatibility.

2024-10-21 21:47:17 Tree
[r9960] by grubert

manpage image handling redo

2024-10-21 20:48:53 Tree
[r9959] by grubert

remove warnings suppression from std tests

2024-10-21 19:26:26 Tree
[r9958] by grubert

test manpage warning on image content

2024-10-21 19:25:32 Tree
[r9957] by milde

Catch deliberate system messages when running the test suite.

When we know a test case triggers a system message,
make sure that it does not clutter the output.

System messages that are only printed to the warning stream may
be checked in an `assertRaisesRegex()` block after setting the "halt_level"
configuration setting to a matching level (cf. e.g. "test_nodes.py"
or the "test/*/test_*_misc.py" test modules).

2024-10-21 07:20:00 Tree
Older >