Move config in pytest.ini to tox.ini.
Merge pull request #1526 from Ayrx/move-pytest-ini

Move config in pytest.ini to tox.ini.