diff --git a/tests/defaultfilters/tests.py b/tests/defaultfilters/tests.py
index be16719c8e..f885f4fa73 100644
--- a/tests/defaultfilters/tests.py
+++ b/tests/defaultfilters/tests.py
@@ -306,13 +306,13 @@ class DefaultFiltersTests(TestCase):
self.assertEqual(urlize('(Go to http://www.example.com/foo.)'),
'(Go to http://www.example.com/foo.)')
- # Check urlize doesn't crash when square bracket is appended to url (#19070)
+ # Check urlize handles brackets properly (#19070)
self.assertEqual(urlize('[see www.example.com]'),
'[see www.example.com]' )
-
- # Check urlize doesn't crash when square bracket is prepended to url (#19070)
self.assertEqual(urlize('see test[at[example.com'),
'see test[at[example.com' )
+ self.assertEqual(urlize('[http://168.192.0.1](http://168.192.0.1)'),
+ u'[http://168.192.0.1](http://168.192.0.1)')
# Check urlize works with IPv4/IPv6 addresses
self.assertEqual(urlize('http://192.168.0.15/api/9'),