Commit b18e35eb authored by Florent Guillaume's avatar Florent Guillaume

Added a comment about the deprecation warning.

parent 870477aa
......@@ -239,6 +239,8 @@ class TestPythonScriptGlobals(PythonScriptTestBase):
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])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment