We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cbca23 commit af5fa29Copy full SHA for af5fa29
1 file changed
src/pytest_codspeed/instruments/hooks/__init__.py
@@ -243,10 +243,8 @@ def _callgrind_skip_python_runtime(self) -> None:
243
),
244
None,
245
)
246
+ print(f"Identified libpython for callgrind skipping: {libpython}")
247
if libpython:
- libpython = os.path.realpath(libpython)
248
- print(f"Identified libpython for callgrind skipping: {libpython}")
249
self._module.callgrind_add_obj_skip(libpython.encode())
250
- executable = os.path.realpath(sys.executable)
251
- print(f"Skipping Python executable in callgrind: {executable}")
252
- self._module.callgrind_add_obj_skip(executable.encode())
+ print(f"Skipping Python executable in callgrind: {sys.executable}")
+ self._module.callgrind_add_obj_skip(sys.executable.encode())
0 commit comments