Unit tests should work with Python < 2.5

Bug #396789 reported by Ray Van Dolson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
web.py
New
Undecided
Unassigned

Bug Description

Per http://www.python.org/doc/2.6/library/profile.html#pstats.Stats, the "stream" parameter was added in 2.5. Thus the Profile class in web/utils.py does not run correctly on Python < 2.5 (output is sent to the terminal instead of to the StringIO()).

Revision history for this message
Ray Van Dolson (rayvd) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.