summaryrefslogtreecommitdiff
path: root/psutil/tests
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2019-12-28 22:32:36 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2019-12-28 22:32:36 +0100
commit283faf2eef04b0ed6dd05f53c84c37bee017ea91 (patch)
treed48128cffebc690f4cf634c86f0c7b2050f3524f /psutil/tests
parentd6c11d01f206cf116a7fee6b6500ea2b785bf756 (diff)
downloadpsutil-283faf2eef04b0ed6dd05f53c84c37bee017ea91.tar.gz
credits for #1648
Diffstat (limited to 'psutil/tests')
-rwxr-xr-xpsutil/tests/test_linux.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py
index 4d9cea92..f503b384 100755
--- a/psutil/tests/test_linux.py
+++ b/psutil/tests/test_linux.py
@@ -1616,6 +1616,7 @@ class TestSensorsTemperatures(unittest.TestCase):
elif path == '/sys/class/thermal/thermal_zone0/trip_point*':
return ['/sys/class/thermal/thermal_zone1/trip_point_0_type',
'/sys/class/thermal/thermal_zone1/trip_point_0_temp']
+ return []
orig_open = open
patch_point = 'builtins.open' if PY3 else '__builtin__.open'