[pypy-svn] r11734 - pypy/dist/lib-python/modified-2.3.4/test

pedronis at codespeak.net pedronis at codespeak.net
Sun May 1 22:35:25 CEST 2005


Author: pedronis
Date: Sun May  1 22:35:25 2005
New Revision: 11734

Modified:
   pypy/dist/lib-python/modified-2.3.4/test/test_descrtut.py
Log:
commenting out a test that track behaviors that changed in more recent vers of Python



Modified: pypy/dist/lib-python/modified-2.3.4/test/test_descrtut.py
==============================================================================
--- pypy/dist/lib-python/modified-2.3.4/test/test_descrtut.py	(original)
+++ pypy/dist/lib-python/modified-2.3.4/test/test_descrtut.py	Sun May  1 22:35:25 2005
@@ -78,15 +78,16 @@
     3
     >>>
 
-However, our __getitem__() method is not used for variable access by the
-interpreter:
-
-    >>> exec "print foo" in a
-    Traceback (most recent call last):
-      File "<stdin>", line 1, in ?
-      File "<string>", line 1, in ?
-    NameError: name 'foo' is not defined
-    >>>
+# PyPy behaves differenlty, as more recent Python versions
+#However, our __getitem__() method is not used for variable access by the
+#interpreter:
+#
+#    >>> exec "print foo" in a
+#    Traceback (most recent call last):
+#      File "<stdin>", line 1, in ?
+#      File "<string>", line 1, in ?
+#    NameError: name 'foo' is not defined
+#    >>>
 
 Now I'll show that defaultdict instances have dynamic instance variables,
 just like classic classes:



More information about the Pypy-commit mailing list