From faf9d1600f5d0c1518f14eaadc8c2bad982049d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 21 Aug 2023 15:31:14 +0200 Subject: [PATCH] tests: change date format in test of print_date_tags With complete date and time format, the tests output was incorrectly parsed by Emacs. --- tests/scripts/python/testapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/python/testapi.py b/tests/scripts/python/testapi.py index 22fc92f2c..ca8ab0d1a 100644 --- a/tests/scripts/python/testapi.py +++ b/tests/scripts/python/testapi.py @@ -419,7 +419,7 @@ def test_display(): weechat.prnt_date_tags('', 946681200, 'tag1,tag2', '## test print_date_tags core buffer') weechat.prnt_date_tags('', 2146383600, 'tag1,tag2', - '## test print_date_tags core buffer, 2038-01-06 09:40:00') + '## test print_date_tags core buffer, January, 6th 2038') hdata_buffer = weechat.hdata_get('buffer') hdata_lines = weechat.hdata_get('lines') hdata_line = weechat.hdata_get('line') @@ -445,7 +445,7 @@ def test_display(): weechat.prnt_y_date_tags(buffer, 0, 946681200, 'tag1,tag2', '## test print_y_date_tags free buffer') weechat.prnt_y_date_tags(buffer, 1, 2146383600, 'tag1,tag2', - '## test print_y_date_tags free buffer, 2038-01-06 09:40:00') + '## test print_y_date_tags free buffer, January, 6th 2038') weechat.buffer_close(buffer)