diff options
-rwxr-xr-x | psutil/tests/test_posix.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/psutil/tests/test_posix.py b/psutil/tests/test_posix.py index 83c1b22b..a96b310f 100755 --- a/psutil/tests/test_posix.py +++ b/psutil/tests/test_posix.py @@ -58,8 +58,7 @@ def ps(fmt, pid=None): cmd.append('ax') if SUNOS: - fmt_map = {'command', 'comm', - 'start', 'stime'} + fmt_map = set(('command', 'comm', 'start', 'stime')) fmt = fmt_map.get(fmt, fmt) cmd.extend(['-o', fmt]) |