summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpsutil/tests/test_posix.py3
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])