[pypy-svn] r49616 - pypy/branch/clr-module-improvements/pypy/module/clr/test

antocuni at codespeak.net antocuni at codespeak.net
Tue Dec 11 00:26:45 CET 2007


Author: antocuni
Date: Tue Dec 11 00:26:44 2007
New Revision: 49616

Modified:
   pypy/branch/clr-module-improvements/pypy/module/clr/test/test_clr.py
Log:
fix test



Modified: pypy/branch/clr-module-improvements/pypy/module/clr/test/test_clr.py
==============================================================================
--- pypy/branch/clr-module-improvements/pypy/module/clr/test/test_clr.py	(original)
+++ pypy/branch/clr-module-improvements/pypy/module/clr/test/test_clr.py	Tue Dec 11 00:26:44 2007
@@ -160,7 +160,7 @@
         enum = x.GetEnumerator()
         assert enum.MoveNext() is False
 
-    def test_iteratrion(self):
+    def test_iteration(self):
         import clr
 
         # test iteration in ArrayList
@@ -181,6 +181,7 @@
         obj.Push(1)
         obj.Push(54)
         obj.Push(21)
+        sum = 0
         for i in obj:
             sum += i
         assert sum == 1+54+21



More information about the Pypy-commit mailing list