Opened 10 years ago

Closed 10 years ago

#19027 closed Uncategorized (invalid)

Django's test client doesn't work on Python 3

Reported by: Bradley Ayers <brad@…> Owned by: nobody
Component: Python 3 Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


The traceback is self explanatory:

  File "...lib/python3.2/site-packages/django/test/", line 384
    raise exc_info[1], None, exc_info[2]
SyntaxError: invalid syntax

Change History (1)

comment:1 Changed 10 years ago by Carl Meyer

Resolution: invalid
Status: newclosed

Thanks for the report! Only Django master is currently supporting Python 3 (experimentally), and the above line of code doesn't appear anywhere in django/test/ in master. Maybe you're using an older version by accident?

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