summaryrefslogtreecommitdiff
path: root/psutil/tests/test_aix.py
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2018-10-12 17:48:15 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2018-10-12 17:48:15 +0200
commit1a0520d225053a818850b04e9b70ea8d3cce33a9 (patch)
treedeef40348b7128877c4be1158992e6c22f20b024 /psutil/tests/test_aix.py
parent20e65b39ff0c601fad90775612c19aedb9b55713 (diff)
downloadpsutil-1a0520d225053a818850b04e9b70ea8d3cce33a9.tar.gz
fix different travis failures
Diffstat (limited to 'psutil/tests/test_aix.py')
-rwxr-xr-xpsutil/tests/test_aix.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/tests/test_aix.py b/psutil/tests/test_aix.py
index 7a8a4c33..0b29215f 100755
--- a/psutil/tests/test_aix.py
+++ b/psutil/tests/test_aix.py
@@ -22,9 +22,9 @@ class AIXSpecificTestCase(unittest.TestCase):
def test_virtual_memory(self):
out = sh('/usr/bin/svmon -O unit=KB')
- re_pattern = "memory\s*"
+ re_pattern = r"memory\s*"
for field in ("size inuse free pin virtual available mmode").split():
- re_pattern += "(?P<%s>\S+)\s+" % (field,)
+ re_pattern += r"(?P<%s>\S+)\s+" % (field,)
matchobj = re.search(re_pattern, out)
self.assertIsNotNone(