For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:pytest/openSUSE_Tumbleweed/devel:languages:python:pytest.repo
zypper refresh
zypper install python-pytest-examples
For openSUSE Factory zSystems run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:pytest/openSUSE_Factory_zSystems/devel:languages:python:pytest.repo
zypper refresh
zypper install python-pytest-examples
For openSUSE Factory PowerPC run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:pytest/openSUSE_Factory_PowerPC/devel:languages:python:pytest.repo
zypper refresh
zypper install python-pytest-examples