summaryrefslogtreecommitdiffstats
path: root/lib/psutil/tests/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psutil/tests/__main__.py')
-rw-r--r--lib/psutil/tests/__main__.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/psutil/tests/__main__.py b/lib/psutil/tests/__main__.py
new file mode 100644
index 0000000..e677352
--- /dev/null
+++ b/lib/psutil/tests/__main__.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+
+# 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:
+$ python -m psutil.tests
+"""
+
+from .runner import main
+
+
+main()