/usr/share/python3/runtime.d/python3-pytest.rtinstall is in python3-pytest 2.6.3-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | #!/bin/sh
set -e
PYVERSION="${2##*python}"
if [ ! -e "/usr/bin/py.test-$PYVERSION" ]; then
cp /usr/bin/py.test-3 /usr/bin/py.test-$PYVERSION
sed -i "s,#! */usr/bin/python3,#!/usr/bin/$2," /usr/bin/py.test-$PYVERSION
fi
|