giampaolo / psutil

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

Remove useless shebang #2316

Closed mtelka closed 7 months ago

mtelka commented 9 months 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.