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 @@ -3198,7 +3198,7 @@ def normalize_spaces(text):
31983198
31993199 def set_source (self , content ):
32003200 with open (self .filename , 'w' ) as fp :
3201- fp .write (content + ' \n ' )
3201+ fp .write (content )
32023202
32033203 def invoke_tokenize (self , * flags ):
32043204 output = StringIO ()
@@ -3240,7 +3240,7 @@ def test_without_flag(self):
32403240 1,0-1,1: NAME 'a'
32413241 1,2-1,3: OP '='
32423242 1,4-1,5: NUMBER '1'
3243- 1,5-1,6: NEWLINE '\\ n '
3243+ 1,5-1,6: NEWLINE ''
32443244 2,0-2,0: ENDMARKER ''
32453245 '''
32463246 self .check_output (source , expect )
@@ -3253,7 +3253,7 @@ def test_exact_flag(self):
32533253 1,0-1,1: NAME 'a'
32543254 1,2-1,3: EQUAL '='
32553255 1,4-1,5: NUMBER '1'
3256- 1,5-1,6: NEWLINE '\\ n '
3256+ 1,5-1,6: NEWLINE ''
32573257 2,0-2,0: ENDMARKER ''
32583258 '''
32593259 for flag in ['-e' , '--exact' ]:
You can’t perform that action at this time.
0 commit comments