We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71cac84 commit 813ee9dCopy full SHA for 813ee9d
tests/test_templatetags.py
@@ -249,8 +249,9 @@ def test_issue_1386(self):
249
"asdf.com",
250
"asdf.net",
251
"www.as_df.org",
252
- "as.d8f.ghj8.gov",
253
]
+ if django.VERSION < (5, 3):
254
+ correct_urls.append("as.d8f.ghj8.gov")
255
for i in correct_urls:
256
res = urlize(i)
257
self.assertNotEqual(res, i)
@@ -260,6 +261,8 @@ def test_issue_1386(self):
260
261
"mailto://[email protected]",
262
"asdf.netnet",
263
264
+ if django.VERSION >= (5, 3):
265
+ incorrect_urls.append("as.d8f.ghj8.gov")
266
for i in incorrect_urls:
267
268
self.assertEqual(i, res)
0 commit comments