File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def test_ARDNIField(self):
8181 def test_ARCUITField (self ):
8282 error_format = ['Enter a valid CUIT in XX-XXXXXXXX-X or XXXXXXXXXXXX format.' ]
8383 error_invalid = ['Invalid CUIT.' ]
84- error_legal_type = [u 'Invalid legal type. Type must be 27, 20, 23 or 30.' ]
84+ error_legal_type = ['Invalid legal type. Type must be 27, 20, 23 or 30.' ]
8585 valid = {
8686 '20-10123456-9' : '20-10123456-9' ,
8787 '20-10123456-9' : '20-10123456-9' ,
Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ def test_escape(self):
3636
3737 def test_format_html (self ):
3838 self .assertEqual (
39- html .format_html (u "{0} {1} {third} {fourth}" ,
40- u "< Dangerous >" ,
41- html .mark_safe (u "<b>safe</b>" ),
39+ html .format_html ("{0} {1} {third} {fourth}" ,
40+ "< Dangerous >" ,
41+ html .mark_safe ("<b>safe</b>" ),
4242 third = "< dangerous again" ,
43- fourth = html .mark_safe (u "<i>safe again</i>" )
43+ fourth = html .mark_safe ("<i>safe again</i>" )
4444 ),
45- u "< Dangerous > <b>safe</b> < dangerous again <i>safe again</i>"
45+ "< Dangerous > <b>safe</b> < dangerous again <i>safe again</i>"
4646 )
4747
4848 def test_linebreaks (self ):
You can’t perform that action at this time.
0 commit comments