giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.32k stars 1.39k forks source link

Remove useless shebang #2316

Closed mtelka closed 11 months ago

mtelka commented 1 year ago

Summary

Description

The psutil/tests/__main__.py file have shebang but it is impossible to run the file:

$ psutil/tests/__main__.py
Traceback (most recent call last):
  File "/tmp/psutil/psutil/tests/__main__.py", line 11, in <module>
    from .runner import main
ImportError: attempted relative import with no known parent package

So let's remove the shebang.