Opened 13 years ago

Closed 13 years ago

#354 closed defect (fixed)

Unit tests fail with old version of MySQLdb

Reported by: Steve Steiner Owned by: Adrian Holovaty
Component: Tools Version: 1.0
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I changed to the 'tests' directory and attempted to run the tests with the following result:

~/Development/django/tests->python ./
Running tests with database 'mysql'
Traceback (most recent call last):

File "./", line 202, in ?


File "./", line 85, in run_tests


TypeError: function takes exactly 1 argument (0 given)

Change History (3)

comment:1 Changed 13 years ago by Jacob

This works just fine for me, so it's probably that you're running an older version of MySQLdb; I can't seem to find in our docs what version of MySQLdb you're supposed to have; what version are you using?

comment:2 Changed 13 years ago by Adrian Holovaty

priority: highestnormal
Severity: blockernormal
Summary: fails with database mysqlUnit tests fail with old version of MySQLdb

comment:3 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

I believe this is fixed. Please reopen and indicate your MySQLdb version if it's still a problem.

Note: See TracTickets for help on using tickets.
Back to Top