Skip to content
Snippets Groups Projects

tests: pygments 2.19+ highlight more whitespace in python code

Merged Anton Shestakov requested to merge topic/stable/pygments-issue6957 into branch/stable
2 files
+ 21
10
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
1
@@ -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))
Loading