mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #15609 -- Fixed some 'raise' statements to use the newer style syntax. Thanks, DaNmarner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -33,7 +33,7 @@ class BaseQuerysetTest(TestCase):
|
||||
excName = exc.__name__
|
||||
else:
|
||||
excName = str(exc)
|
||||
raise AssertionError, "%s not raised" % excName
|
||||
raise AssertionError("%s not raised" % excName)
|
||||
|
||||
|
||||
class Queries1Tests(BaseQuerysetTest):
|
||||
|
||||
Reference in New Issue
Block a user