/usr/lib/python2.7/dist-packages/markupsafe/tests.py is in python-markupsafe 0.15-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/python2.7/dist-packages/markupsafe/../../../../share/pyshared/markupsafe/tests.py