diff tests/hghave.py @ 53035:771706c5acfb stable

tests: pygments 2.19+ highlight more whitespace in python code Let's repeat 42baf12efd21.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 28 Feb 2025 17:54:12 +0400
parents d655382584c5
children
line wrap: on
line diff
--- a/tests/hghave.py	Thu Mar 06 12:23:27 2025 +0100
+++ b/tests/hghave.py	Fri Feb 28 17:54:12 2025 +0400
@@ -666,7 +666,9 @@
         return 0, 0
 
 
-@checkvers("pygments", "Pygments version >= %s", ('2.5', '2.11', '2.14'))
+@checkvers(
+    "pygments", "Pygments version >= %s", ('2.5', '2.11', '2.14', '2.19')
+)
 def has_pygments_range(v):
     major, minor = v.split('.')[0:2]
     return getpygmentsversion() >= (int(major), int(minor))