diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2013-09-30 13:51:30 -0700 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2013-09-30 13:51:30 -0700 |
commit | 53ebb0fced409379e838fbc65ed639e96b1b3af4 (patch) | |
tree | 65c76b087dfbb0db6cecff8b67f57301f736b510 | |
parent | c8b2744ea2b1e4419b7e3d93928e92c95f366815 (diff) | |
download | mysqldb1-53ebb0fced409379e838fbc65ed639e96b1b3af4.tar.gz |
Change one assertTrue to assertEquals to get better failure output
-rw-r--r-- | tests/test_MySQLdb_capabilities.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_MySQLdb_capabilities.py b/tests/test_MySQLdb_capabilities.py index ebec1e6..ead6982 100644 --- a/tests/test_MySQLdb_capabilities.py +++ b/tests/test_MySQLdb_capabilities.py @@ -77,7 +77,7 @@ class test_MySQLdb(capabilities.DatabaseTest): try:
self.cursor.execute("describe some_non_existent_table");
except self.connection.ProgrammingError, msg:
- self.assertTrue(msg[0] == ER.NO_SUCH_TABLE)
+ self.assertEquals(msg[0], ER.NO_SUCH_TABLE)
def test_bug_3514287(self):
c = self.cursor
|