Changed code to support older Python versions
This commit is contained in:
parent
eb92d2d36f
commit
582458cdd0
5027 changed files with 794942 additions and 4 deletions
13
venv/lib/python3.11/site-packages/psutil/tests/__main__.py
Normal file
13
venv/lib/python3.11/site-packages/psutil/tests/__main__.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
"""Run unit tests. This is invoked by:
|
||||
$ python3 -m psutil.tests.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
||||
from psutil.tests import pytest
|
||||
|
||||
sys.exit(pytest.main())
|
||||
Loading…
Add table
Add a link
Reference in a new issue