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 | |
parent | d6c11d01f206cf116a7fee6b6500ea2b785bf756 (diff) | |
download | psutil-283faf2eef04b0ed6dd05f53c84c37bee017ea91.tar.gz |
credits for #1648
-rw-r--r-- | CREDITS | 4 | ||||
-rw-r--r-- | HISTORY.rst | 5 | ||||
-rwxr-xr-x | psutil/tests/test_linux.py | 1 |
3 files changed, 10 insertions, 0 deletions
@@ -652,3 +652,7 @@ N: Po-Chuan Hsieh W: https://github.com/sunpoet C: Taiwan I: 1646 + +N: Javad Karabi +W: https://github.com/karabijavad +I: 1648 diff --git a/HISTORY.rst b/HISTORY.rst index 5a56542d..16d18c08 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -5,6 +5,11 @@ XXXX-XX-XX +**Enhancements** + +- 1648_: [Linux] sensors_temperatures() looks into an additional /sys/device/ + directory for additional data. (patch by Javad Karabi) + **Bug fixes** - 1637_: [SunOS] Add partial support for old SunOS 5.10 Update 0 to 3. 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' |