Opened 10 years ago

Closed 9 years ago

#354 closed defect (fixed)

Unit tests fail with old version of MySQLdb

Reported by: ssteiner Owned by: adrian
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:

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 Changed 10 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 10 years ago by adrian

  • priority changed from highest to normal
  • Severity changed from blocker to normal
  • Summary changed from runtests.py fails with database mysql to Unit tests fail with old version of MySQLdb

comment:3 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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