Package: python3-pytest

"python3-pytest" package binaries on Debian:

/usr/bin/py.test-3

You may install this package on Debian with apt-get install python3-pytest