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

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Jan 13 14:10:25 CET 2008


Author: cfbolz
Date: Sun Jan 13 14:10:22 2008
New Revision: 50548

Modified:
   pypy/branch/clr-module-improvements/pypy/module/clr/test/test_importer.py
Log:
(pdg, cfbolz): test that we would like to pass


Modified: pypy/branch/clr-module-improvements/pypy/module/clr/test/test_importer.py
==============================================================================
--- pypy/branch/clr-module-improvements/pypy/module/clr/test/test_importer.py	(original)
+++ pypy/branch/clr-module-improvements/pypy/module/clr/test/test_importer.py	Sun Jan 13 14:10:22 2008
@@ -29,8 +29,11 @@
         assert ArrayList is System.Collections.ArrayList
 
     def test_ImportError(self):
-        skip('Fixme!')
         def fn():
             import non_existent_module
-        raises(ImportError, fn())
-        
+        raises(ImportError, fn)
+
+    def test_lazy_import(self):
+        py.test.skip("not working yet")
+        import System
+        System.Xml.Schema # does not raise attribute error



More information about the Pypy-commit mailing list