/usr/share/python/runtime.d/python-pytest.rtremove is in python-pytest 2.5.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3
#!/bin/sh set -e rm -f "/usr/bin/py.test-${2##*python}"