[Python-checkins] python/dist/src/Lib/test test_doctest.py, 1.4.14.2, 1.4.14.3
jhylton@users.sourceforge.net
jhylton at users.sourceforge.net
Mon Oct 10 17:50:45 CEST 2005
- Previous message: [Python-checkins] python/dist/src/Lib/idlelib CallTipWindow.py, 1.7, 1.7.14.1 CallTips.py, 1.12, 1.12.6.1 EditorWindow.py, 1.69, 1.69.2.1 ParenMatch.py, 1.8, 1.8.6.1 PyParse.py, 1.5, 1.5.14.1 PyShell.py, 1.99, 1.99.2.1 config-extensions.def, 1.15, 1.15.6.1 configDialog.py, 1.62, 1.62.2.1 run.py, 1.32, 1.32.2.1
- Next message: [Python-checkins] python/nondist/peps pep-0227.txt,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20137
Modified Files:
Tag: ast-branch
test_doctest.py
Log Message:
Compiler now generates the name "<module>" instead of "?"
Index: test_doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_doctest.py,v
retrieving revision 1.4.14.2
retrieving revision 1.4.14.3
diff -u -d -r1.4.14.2 -r1.4.14.3
--- test_doctest.py 7 Jan 2005 06:58:52 -0000 1.4.14.2
+++ test_doctest.py 10 Oct 2005 15:50:41 -0000 1.4.14.3
@@ -1556,11 +1556,11 @@
>>> try: doctest.debug_src(s)
... finally: sys.stdin = real_stdin
- > <string>(1)?()
+ > <string>(1)<module>()
(Pdb) next
12
--Return--
- > <string>(1)?()->None
+ > <string>(1)<module>()->None
(Pdb) print x
12
(Pdb) continue
@@ -1598,7 +1598,7 @@
>>> try: runner.run(test)
... finally: sys.stdin = real_stdin
--Return--
- > <doctest foo[1]>(1)?()->None
+ > <doctest foo[1]>(1)<module>()->None
-> import pdb; pdb.set_trace()
(Pdb) print x
42
@@ -1634,7 +1634,7 @@
(Pdb) print y
2
(Pdb) up
- > <doctest foo[1]>(1)?()
+ > <doctest foo[1]>(1)<module>()
-> calls_set_trace()
(Pdb) print x
1
@@ -1683,7 +1683,7 @@
[EOF]
(Pdb) next
--Return--
- > <doctest foo[2]>(1)?()->None
+ > <doctest foo[2]>(1)<module>()->None
-> f(3)
(Pdb) list
1 -> f(3)
@@ -1776,7 +1776,7 @@
(Pdb) print y
1
(Pdb) up
- > <doctest foo[1]>(1)?()
+ > <doctest foo[1]>(1)<module>()
-> calls_set_trace()
(Pdb) print foo
*** NameError: name 'foo' is not defined
- Previous message: [Python-checkins] python/dist/src/Lib/idlelib CallTipWindow.py, 1.7, 1.7.14.1 CallTips.py, 1.12, 1.12.6.1 EditorWindow.py, 1.69, 1.69.2.1 ParenMatch.py, 1.8, 1.8.6.1 PyParse.py, 1.5, 1.5.14.1 PyShell.py, 1.99, 1.99.2.1 config-extensions.def, 1.15, 1.15.6.1 configDialog.py, 1.62, 1.62.2.1 run.py, 1.32, 1.32.2.1
- Next message: [Python-checkins] python/nondist/peps pep-0227.txt,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list