15
0

- Use better expression to get version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ansi2html?expand=0&rev=21
This commit is contained in:
2025-06-18 14:27:12 +00:00
committed by Git OBS Bridge
parent 0851623132
commit 548393390e
2 changed files with 7 additions and 2 deletions

View File

@@ -5,12 +5,12 @@
Index: ansi2html-1.9.2/tests/test_ansi2html.py
===================================================================
--- ansi2html-1.9.2.orig/tests/test_ansi2html.py 2024-06-22 19:22:24.000000000 +0200
+++ ansi2html-1.9.2/tests/test_ansi2html.py 2025-06-17 22:27:11.354092953 +0200
+++ ansi2html-1.9.2/tests/test_ansi2html.py 2025-06-18 16:25:45.121652936 +0200
@@ -50,6 +50,7 @@
class TestAnsi2HTML:
maxDiff = None
+ cmd_exe = "ansi2html-" + '.'.join([str(x) for x in sys.version_info[:2]])
+ cmd_exe = "ansi2html-%d.%d" % sys.version_info[:2]
def test_linkify(self) -> None:
ansi = "http://threebean.org#foobar"

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 18 14:27:04 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Use better expression to get version.
-------------------------------------------------------------------
Tue Jun 17 20:29:28 UTC 2025 - Matej Cepl <mcepl@cepl.eu>