make the py.test mark `online` Python 2.6 compatible
Merge pull request #632 from derdon/pytest-online-fix

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