__main__.py 305 B

12345678910111213
  1. # Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. """Run unit tests. This is invoked by:
  5. $ python3 -m psutil.tests.
  6. """
  7. import sys
  8. from psutil.tests import pytest
  9. sys.exit(pytest.main())