/usr/lib/python3/dist-packages/pytest-2.8.7.egg-info/entry_points.txt is in python3-pytest 2.8.7-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2
[console_scripts] py.test = pytest:main