diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-03-13 13:34:13 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-03-13 13:34:13 +0100 |
commit | d8066a0305616d6981f26c00366d07ae3e6588a7 (patch) | |
tree | 1357f77b309147155eb35a5a204e633a692e7fbd /psutil/tests/test_system.py | |
parent | c4467c90ef53cd9eba8ab8be620d71b8477d6ce9 (diff) | |
download | psutil-d8066a0305616d6981f26c00366d07ae3e6588a7.tar.gz |
test runner refactoring (avoid code duplication)
Diffstat (limited to 'psutil/tests/test_system.py')
-rwxr-xr-x | psutil/tests/test_system.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py index 43de8b99..00a38586 100755 --- a/psutil/tests/test_system.py +++ b/psutil/tests/test_system.py @@ -867,5 +867,5 @@ class TestSystemAPIs(unittest.TestCase): if __name__ == '__main__': - from psutil.tests.runner import run_test_module_by_name - run_test_module_by_name(__file__) + from psutil.tests.runner import run + run(__file__) |