File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 11import unittest
22
3- import django
43from django .template import Context , Template
54from django .test import TestCase , override_settings
65from django .utils .html import urlize
@@ -250,9 +249,8 @@ def test_issue_1386(self):
250249 "asdf.com" ,
251250 "asdf.net" ,
252251 "www.as_df.org" ,
252+ "as.d8f.ghj8.gov" ,
253253 ]
254- if django .VERSION < (5 , 3 ):
255- correct_urls .append ("as.d8f.ghj8.gov" )
256254 for i in correct_urls :
257255 res = urlize (i )
258256 self .assertNotEqual (res , i )
@@ -262,8 +260,6 @@ def test_issue_1386(self):
262260263261 "asdf.netnet" ,
264262 ]
265- if django .VERSION >= (5 , 3 ):
266- incorrect_urls .append ("as.d8f.ghj8.gov" )
267263 for i in incorrect_urls :
268264 res = urlize (i )
269265 self .assertEqual (i , res )
You can’t perform that action at this time.
0 commit comments