Skip to content

Commit 5ffe902

Browse files
test: replace tarantool bugs xfail to skip
Tests related to Tarantool datetime bugs [1, 2] are marked with xfail so it would be convenient to notice when the bug is fixed. At the same time, tarantool/tarantool CI requires that tarantool/tarantool-python CI must be green for each PR and it's not work for a PR with datetime bugs [1, 2] fix: xfail triggers "unexpected success" and CI fails. To break this codependency, this patch replaces xfail with skip. 1. tarantool/tarantool#7698 2.tarantool/tarantool#7700 Follows #229
1 parent 4f413c1 commit 5ffe902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/suites/test_datetime.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def test_python_datetime_subtraction_different_timezones(self):
388388
self.assertEqual(case['arg_1'] - case['arg_2'], case['res'])
389389

390390
@skip_or_run_datetime_test
391-
@unittest.expectedFailure # See https://github.com/tarantool/tarantool/issues/7698
391+
@unittest.skip('See https://github.com/tarantool/tarantool/issues/7698')
392392
def test_tarantool_datetime_subtraction_different_timezones(self):
393393
case = self.datetime_subtraction_different_timezones_case
394394

@@ -524,7 +524,7 @@ def test_python_datetime_addition_winter_time_switch(self):
524524
self.assertEqual(case['arg_1'] + case['arg_2'], case['res'])
525525

526526
@skip_or_run_datetime_test
527-
@unittest.expectedFailure # See https://github.com/tarantool/tarantool/issues/7700
527+
@unittest.skip('See https://github.com/tarantool/tarantool/issues/7700')
528528
def test_tarantool_datetime_addition_winter_time_switch(self):
529529
case = self.datetime_addition_winter_time_switch_case
530530

0 commit comments

Comments
 (0)