Fix Python 2.6

Python 2.6 doesn't understand patterns like `Pattern "{}" not found in "{}"'`, it needs either named or numbered fields. Currently a failed assertion about an error wrapped in `raises_regexp()` triggers `ValueError: zero length field name in format` under py26.
Merge pull request #1 from neithere/patch-1

Fix Python 2.6