diff options
author | bsebi <sebastianbrestin@gmail.com> | 2015-10-28 20:10:04 +0200 |
---|---|---|
committer | bsebi <sebastianbrestin@gmail.com> | 2015-10-28 20:10:04 +0200 |
commit | 7d5910530c13346e25a09ec6f28a2d511e0b21db (patch) | |
tree | 65f89d92a1e7745e68ca5053c2205fbaa1a1ab16 | |
parent | 431844fa00b61cdbc94ae8514ea8cc2abd7f25f5 (diff) | |
download | psutil-7d5910530c13346e25a09ec6f28a2d511e0b21db.tar.gz |
improved solaris check for unit test as well
-rw-r--r-- | test/test_psutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_psutil.py b/test/test_psutil.py index 62fc5114..e412dd13 100644 --- a/test/test_psutil.py +++ b/test/test_psutil.py @@ -105,7 +105,7 @@ if WINDOWS: LINUX = sys.platform.startswith("linux") OSX = sys.platform.startswith("darwin") BSD = sys.platform.startswith("freebsd") -SUNOS = sys.platform.startswith("sunos") +SUNOS = sys.platform.startswith("sunos") or sys.platform.startswith("solaris") VALID_PROC_STATUSES = [getattr(psutil, x) for x in dir(psutil) if x.startswith('STATUS_')] # whether we're running this test suite on Travis (https://travis-ci.org/) |