summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpsutil/tests/test_linux.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py
index 3e1afc4f..b8be6ca3 100755
--- a/psutil/tests/test_linux.py
+++ b/psutil/tests/test_linux.py
@@ -352,7 +352,6 @@ class TestSystemVirtualMemory(PsutilTestCase):
assert m.called
self.assertEqual(len(ws), 1)
w = ws[0]
- assert w.filename.endswith('psutil/_pslinux.py')
self.assertIn(
"memory stats couldn't be determined", str(w.message))
self.assertIn("cached", str(w.message))
@@ -586,7 +585,6 @@ class TestSystemSwapMemory(PsutilTestCase):
assert m.called
self.assertEqual(len(ws), 1)
w = ws[0]
- assert w.filename.endswith('psutil/_pslinux.py')
self.assertIn(
"'sin' and 'sout' swap memory stats couldn't "
"be determined", str(w.message))
@@ -604,7 +602,6 @@ class TestSystemSwapMemory(PsutilTestCase):
assert m.called
self.assertEqual(len(ws), 1)
w = ws[0]
- assert w.filename.endswith('psutil/_pslinux.py')
self.assertIn(
"'sin' and 'sout' swap memory stats couldn't "
"be determined and were set to 0",