Skip to content

Commit 116d8d3

Browse files
cmaloneyclaude
andcommitted
Remove intentional test failures used to test GitHub Actions output
This reverts commit 81d4828. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 81d4828 commit 116d8d3

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

‎Lib/test/test_bool.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from test.support import os_helper
55

66
import os
7-
import sys
87

98
class BoolTest(unittest.TestCase):
109

@@ -26,11 +25,6 @@ def test_repr(self):
2625
self.assertIs(eval(repr(True)), True)
2726

2827
def test_str(self):
29-
if sys.platform == "linux":
30-
# XXX: Intentional failure to test GitHub Actions annotations
31-
self.assertEqual(
32-
str(True),
33-
'Yes')
3428
self.assertEqual(str(False), 'False')
3529
self.assertEqual(str(True), 'True')
3630

‎Lib/test/test_json/test_decode.py‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import decimal
2-
import sys
32
import unittest.mock
43
from io import StringIO
54
from collections import OrderedDict
@@ -10,9 +9,6 @@
109
class TestDecode:
1110
def test_decimal(self):
1211
rval = self.loads('1.1', parse_float=decimal.Decimal)
13-
if sys.platform == "linux":
14-
# XXX: Intentional failure to test GitHub Actions annotations
15-
self.loads('{"bad": }')
1612
self.assertIsInstance(rval, decimal.Decimal)
1713
self.assertEqual(rval, decimal.Decimal('1.1'))
1814

0 commit comments

Comments
 (0)