Opened 12 years ago

Closed 12 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

Description

The traceback is self explanatory:

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

Change History (1)

comment:1 by Carl Meyer, 12 years ago

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/client.py in master. Maybe you're using an older version by accident?

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