diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-12-28 22:32:36 +0100 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-12-28 22:32:36 +0100 |
| commit | 283faf2eef04b0ed6dd05f53c84c37bee017ea91 (patch) | |
| tree | d48128cffebc690f4cf634c86f0c7b2050f3524f /psutil/tests | |
| parent | d6c11d01f206cf116a7fee6b6500ea2b785bf756 (diff) | |
| download | psutil-283faf2eef04b0ed6dd05f53c84c37bee017ea91.tar.gz | |
credits for #1648
Diffstat (limited to 'psutil/tests')
| -rwxr-xr-x | psutil/tests/test_linux.py | 1 |
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' |
