1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

[1.5.x] Updated deprecated test assertions

This commit is contained in:
Claude Paroz
2013-01-08 19:07:12 +01:00
parent b6119a6373
commit beef02eeaa
5 changed files with 9 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ class OracleChecks(unittest.TestCase):
# Check that '%' chars are escaped for query execution.
name = '"SOME%NAME"'
quoted_name = connection.ops.quote_name(name)
self.assertEquals(quoted_name % (), name)
self.assertEqual(quoted_name % (), name)
@unittest.skipUnless(connection.vendor == 'oracle',
"No need to check Oracle cursor semantics")