File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def colname(i):
5252 q , r = divmod (i , 26 )
5353 return colname (q - 1 ) + colname (r )
5454 else :
55- return chr (ord ('A' ) + i )
55+ return chr (ord ("A" ) + i )
5656
5757
5858@wizard_task (label = "Processing Data" , url_path = "auto" , use_async = True )
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ class WizardTestCase(APITransactionTestCase):
2121 @property
2222 def reset_sequences (self ):
2323 from . import backend
24- if backend and getattr (backend , 'test_reset_sequences' , False ):
24+
25+ if backend and getattr (backend , "test_reset_sequences" , False ):
2526 return True
2627 return False
2728
@@ -312,7 +313,7 @@ def make_str(record):
312313 )
313314 elif "ValidationError" in text :
314315 # Django 3.0+
315- text = text .replace (u "\u201c " , '"' ).replace (u "\u201d " , '"' )
316+ text = text .replace ("\u201c " , '"' ).replace ("\u201d " , '"' )
316317 return text
317318
318319 records = [make_str (record ) for record in run .record_set .all ()]
You can’t perform that action at this time.
0 commit comments