[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py
Added a comment about the deprecation warning.
Florent Guillaume
fg at nuxeo.com
Sun Nov 21 13:03:28 EST 2004
Log message for revision 28484:
Added a comment about the deprecation warning.
Changed:
U Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py
-=-
Modified: Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py
===================================================================
--- Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py 2004-11-21 17:45:39 UTC (rev 28483)
+++ Zope/trunk/lib/python/Products/PythonScripts/tests/testPythonScript.py 2004-11-21 18:03:28 UTC (rev 28484)
@@ -239,6 +239,8 @@
self.assertEqual(f(), ('?.foo', "'string'"))
def test_filepath(self):
+ # This test is meant to raise a deprecation warning.
+ # It used to fail mysteriously instead.
f = self._filePS('filepath')
self.assertEqual(f(), [0])
More information about the Zope-Checkins
mailing list