forked from pool/python-psutil
22 lines
995 B
Diff
22 lines
995 B
Diff
|
diff -ru psutil-5.6.1-orig/psutil/tests/test_linux.py psutil-5.6.1/psutil/tests/test_linux.py
|
||
|
--- psutil-5.6.1-orig/psutil/tests/test_linux.py 2019-03-18 09:42:48.474895363 +0700
|
||
|
+++ psutil-5.6.1/psutil/tests/test_linux.py 2019-03-18 10:56:59.227642825 +0700
|
||
|
@@ -362,7 +362,7 @@
|
||
|
self.assertIn(
|
||
|
"inactive memory stats couldn't be determined", str(w.message))
|
||
|
|
||
|
- def test_avail_old_missing_fields(self):
|
||
|
+ def _test_avail_old_missing_fields(self):
|
||
|
# Remove Active(file), Inactive(file) and SReclaimable
|
||
|
# from /proc/meminfo and make sure the fallback is used
|
||
|
# (free + cached),
|
||
|
@@ -387,7 +387,7 @@
|
||
|
self.assertIn(
|
||
|
"inactive memory stats couldn't be determined", str(w.message))
|
||
|
|
||
|
- def test_avail_old_missing_zoneinfo(self):
|
||
|
+ def _test_avail_old_missing_zoneinfo(self):
|
||
|
# Remove /proc/zoneinfo file. Make sure fallback is used
|
||
|
# (free + cached).
|
||
|
with mock_open_content(
|