Changeset 391 for python/trunk/Lib/test/test_profile.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/test/test_profile.py
r2 r391 1 1 """Test suite for the profile module.""" 2 2 3 import os4 3 import sys 5 4 import pstats … … 58 57 stats.print_stats() 59 58 res = s.getvalue() 60 self.assert True(self.expected_list_sort_output inres,59 self.assertIn(self.expected_list_sort_output, res, 61 60 "Profiling {0!r} didn't report list.sort:\n{1}".format(stmt, res)) 62 61 … … 95 94 #--cut-------------------------------------------------------------------------- 96 95 ProfileTest.expected_output['print_stats'] = """\ 97 127 function calls (107 primitive calls) in 999.749 CPUseconds96 127 function calls (107 primitive calls) in 999.749 seconds 98 97 99 98 Ordered by: standard name
Note:
See TracChangeset
for help on using the changeset viewer.