File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ def test_raw_tstrings(self):
250250 t = tr "{path}\Documents"
251251 self .assertEqual (t .strings , ("" , r"\Documents" ,))
252252 self .assertEqual (t .interpolations [0 ].value , path )
253-
253+
254254
255255 def test_template_concatenation (self ):
256256 # Test template + template
@@ -304,7 +304,7 @@ def test_nested_templates(self):
304304 self .assertEqual (t .interpolations [0 ].expression , "inner" )
305305 self .assertEqual (t .interpolations [0 ].conversion , None )
306306 self .assertEqual (t .interpolations [0 ].format_spec , "" )
307-
307+
308308 def test_ast_structure (self ):
309309 # Test AST structure for simple t-string
310310 tree = ast .parse ('t"Hello"' )
@@ -324,7 +324,7 @@ def test_error_conditions(self):
324324
325325 with self .assertRaisesRegex (SyntaxError , "t-string: expecting '}'" ):
326326 eval ("t'{a'" )
327-
327+
328328 with self .assertRaisesRegex (SyntaxError , "t-string: single '}' is not allowed" ):
329329 eval ("t'}'" )
330330
You can’t perform that action at this time.
0 commit comments