Skip to content

Commit 3e10c49

Browse files
committed
Clean up test_tstring
1 parent 58da4e0 commit 3e10c49

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Lib/test/test_tstring.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
import ast
21
import unittest
32

43
from test.test_string._support import TStringTestCase, fstring
54

65

76
class TestTString(TStringTestCase):
8-
def assertAllRaise(self, exception_type, regex, error_strings):
9-
for s in error_strings:
10-
with self.subTest(s=s):
11-
with self.assertRaisesRegex(exception_type, regex):
12-
eval(s)
13-
147
def test_string_representation(self):
158
# Test __repr__
169
t = t"Hello"

0 commit comments

Comments
 (0)