According to docs, pytest_namespace has been removed in version 4.0:
One can use pytest_configure to share global variables.
Example:
import pytest
def pytest_configure():
pytest.my_symbol = MySymbol()
According to docs, pytest_namespace has been removed in version 4.0:
One can use pytest_configure to share global variables.
Example:
import pytest
def pytest_configure():
pytest.my_symbol = MySymbol()