make the py.test mark `online` Python 2.6 compatible

When my PR with the ``@pytest.mark.online``  functionality was merged into master, I introduced a ValueError for Python 2.6 because of the format of the string-formatting. This PR fixes this.