From bb4671c22b18bc903e2a592899459446dd245192 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 10 May 2014 11:02:33 +0530 Subject: [PATCH] Add build test for psutil --- src/calibre/test_build.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index bdf5023350..b542fc3174 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -169,6 +169,11 @@ def test_netifaces(): raise ValueError('netifaces could find no network interfaces') print ('netifaces OK!') +def test_psutil(): + import psutil + psutil.Process(os.getpid()) + print ('psutil OK!') + def test(): test_plugins() test_lxml() @@ -185,6 +190,7 @@ def test(): test_magick() test_tokenizer() test_netifaces() + test_psutil() if iswindows: test_winutil() test_wpd()