Opened 19 years ago
Closed 19 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: | no | UI/UX: | no |
Description
I changed to the 'tests' directory and attempted to run the tests with the following result:
~/Development/django/tests->python ./runtests.py
Running tests with database 'mysql'
Traceback (most recent call last):
File "./runtests.py", line 202, in ?
t.run_tests()
File "./runtests.py", line 85, in run_tests
db.connection.autocommit()
TypeError: function takes exactly 1 argument (0 given)
Change History (3)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
priority: | highest → normal |
---|---|
Severity: | blocker → normal |
Summary: | runtests.py fails with database mysql → Unit tests fail with old version of MySQLdb |
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I believe this is fixed. Please reopen and indicate your MySQLdb version if it's still a problem.
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?