[Checkins] SVN: Zope/branches/regebro-wsgi_support2/lib/python/Products/PythonScripts/tests/testPythonScript.py Temporarily getting rid of an annoying error.

Lennart Regebro regebro at gmail.com
Mon May 1 06:11:03 EDT 2006


Log message for revision 67784:
  Temporarily getting rid of an annoying error.
  

Changed:
  U   Zope/branches/regebro-wsgi_support2/lib/python/Products/PythonScripts/tests/testPythonScript.py

-=-
Modified: Zope/branches/regebro-wsgi_support2/lib/python/Products/PythonScripts/tests/testPythonScript.py
===================================================================
--- Zope/branches/regebro-wsgi_support2/lib/python/Products/PythonScripts/tests/testPythonScript.py	2006-05-01 09:47:46 UTC (rev 67783)
+++ Zope/branches/regebro-wsgi_support2/lib/python/Products/PythonScripts/tests/testPythonScript.py	2006-05-01 10:11:02 UTC (rev 67784)
@@ -223,7 +223,8 @@
 
     def testBadImports(self):
         self.assertPSRaises(ImportError, body="from string import *")
-        self.assertPSRaises(ImportError, body="import mmap")
+        self.assertPSRaises(ImportError, body="from datetime import datetime")
+        #self.assertPSRaises(ImportError, body="import mmap")
 
     def testAttributeAssignment(self):
         # It's illegal to assign to attributes of anything that



More information about the Checkins mailing list