From 7576637c6d1f0f2a9025c7f48dbcf34897c41f22 Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Thu, 5 Dec 2024 00:42:03 +0100 Subject: [PATCH] Extend test_trim_doctest_flags_html() with a trailing spaces assertion --- tests/test_transforms/test_transforms_post_transforms_code.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_transforms/test_transforms_post_transforms_code.py b/tests/test_transforms/test_transforms_post_transforms_code.py index a4243fb85bc..381f4ac5980 100644 --- a/tests/test_transforms/test_transforms_post_transforms_code.py +++ b/tests/test_transforms/test_transforms_post_transforms_code.py @@ -15,6 +15,7 @@ def test_trim_doctest_flags_html(app): assert 'QUUX' not in result assert 'CORGE' not in result assert 'GRAULT' in result + assert 'now() \n' not in result @pytest.mark.sphinx(