Mercurial > p > mysql-python > mysqldb-2
diff MySQLdb/__init__.py @ 37:df4d804244ec MySQLdb
Since tests are easy to run, there's no reason to have them in shipping code.
author | kylev |
---|---|
date | Thu, 12 Feb 2009 00:36:39 +0000 |
parents | 4a5668deee4a |
children | 6122b2cacd20 |
line wrap: on
line diff
--- a/MySQLdb/__init__.py Thu Feb 12 00:28:34 2009 +0000 +++ b/MySQLdb/__init__.py Thu Feb 12 00:36:39 2009 +0000 @@ -58,18 +58,6 @@ DATETIME = TIMESTAMP ROWID = DBAPISet() -def test_DBAPISet_set_equality(): - assert STRING == STRING - -def test_DBAPISet_set_inequality(): - assert STRING != NUMBER - -def test_DBAPISet_set_equality_membership(): - assert FIELD_TYPE.VAR_STRING == STRING - -def test_DBAPISet_set_inequality_membership(): - assert FIELD_TYPE.DATE != STRING - def Binary(x): """Return x as a binary type.""" return str(x)