SF.net SVN: docutils:[9929] trunk/docutils/test/test_writers/ test_html4css1.py

milde--- via Docutils-checkins <[email protected]>
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 9929
          http://sourceforge.net/p/docutils/code/9929
Author:   milde
Date:     2024-09-12 12:57:48 +0000 (Thu, 12 Sep 2024)
Log Message:
-----------
Fix test_writers html4css when PIL is installed.

Fixup for [r9924].

Modified Paths:
--------------
    trunk/docutils/test/test_writers/test_html4css1.py

Modified: trunk/docutils/test/test_writers/test_html4css1.py
===================================================================
--- trunk/docutils/test/test_writers/test_html4css1.py	2024-09-11 07:20:07 UTC (rev 9928)
+++ trunk/docutils/test/test_writers/test_html4css1.py	2024-09-12 12:57:48 UTC (rev 9929)
@@ -39,10 +39,11 @@
 
 # Pillow/PIL is optional:
 if PIL:
-    SCALING_OUTPUT = 'style="width: 32px; height: 32px;" '
+    SCALING_OUTPUT = 'style="width: 32.0px; height: 32.0px;" '
 else:
     SCALING_OUTPUT = ''
 
+
 class Html5WriterPublishPartsTestCase(unittest.TestCase):
     """Test case for HTML5 writer via the publish_parts() interface."""
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.