[Checkins] SVN: zope.tal/branches/pypyzpt/src/zope/tal/talpypy/zptest/appzpt.py comments about the workaround

Godefroid Chapelle gotcha at bubblenet.be
Tue Jun 12 05:56:47 EDT 2007


Log message for revision 76635:
  comments about the workaround

Changed:
  U   zope.tal/branches/pypyzpt/src/zope/tal/talpypy/zptest/appzpt.py

-=-
Modified: zope.tal/branches/pypyzpt/src/zope/tal/talpypy/zptest/appzpt.py
===================================================================
--- zope.tal/branches/pypyzpt/src/zope/tal/talpypy/zptest/appzpt.py	2007-06-12 09:47:53 UTC (rev 76634)
+++ zope.tal/branches/pypyzpt/src/zope/tal/talpypy/zptest/appzpt.py	2007-06-12 09:56:46 UTC (rev 76635)
@@ -5,3 +5,13 @@
 def appfunc():
     return zope.tal.zptest.test(random.randrange(3))
 
+#
+# the code hereunder doesn't work : 
+# it results in an ImportError
+#
+# from zope.tal import zptest
+# import random
+
+# def appfunc():
+#     return zptest.test(random.randrange(3))
+



More information about the Checkins mailing list