[Python-checkins] python/dist/src/Lib/test test_hotshot.py,1.11,1.12

mwh@users.sourceforge.net mwh@users.sourceforge.net
Thu, 15 Aug 2002 07:59:03 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv10908/Lib/test

Modified Files:
	test_hotshot.py 
Log Message:
This is my patch

[ 587993 ] SET_LINENO killer

Remove SET_LINENO.  Tracing is now supported by inspecting co_lnotab.

Many sundry changes to document and adapt to this change.


Index: test_hotshot.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_hotshot.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** test_hotshot.py	5 Aug 2002 22:16:40 -0000	1.11
--- test_hotshot.py	15 Aug 2002 14:59:01 -0000	1.12
***************
*** 92,99 ****
          g_lineno = g.func_code.co_firstlineno
          events = [(ENTER, ("test_hotshot", g_lineno, "g")),
-                   (LINE,  ("test_hotshot", g_lineno, "g")),
                    (LINE,  ("test_hotshot", g_lineno+1, "g")),
                    (ENTER, ("test_hotshot", f_lineno, "f")),
-                   (LINE,  ("test_hotshot", f_lineno, "f")),
                    (LINE,  ("test_hotshot", f_lineno+1, "f")),
                    (LINE,  ("test_hotshot", f_lineno+2, "f")),
--- 92,97 ----