Avoid overriding conftest settings when called from readthedocsinc
# -*- coding: utf-8 -*-
import pytest
+try:
+ # TODO: this file is read/executed even when called from ``readthedocsinc``,
+ # so it's overriding the options that we are defining in the ``conftest.py``
+ # from the corporate site. We need to find a better way to avoid this.
+ import readthedocsinc
+ PYTEST_OPTIONS = ()
+except ImportError:
PYTEST_OPTIONS = (
# Options to set test environment
('community', True),
