QPID-5660: [legacystore] Python tests fail with syntax error on Python 2.4

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584347 13f79535-47bb-0310-9956-ffa450edef68