You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
======================================================================
ERROR: psutil.tests.test_system.TestSystemAPIs.test_disk_partitions
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cigla/Documents/Dev/psutil/psutil/tests/test_system.py", line 536, in test_disk_partitions
psutil.disk_usage(mount)
File "/home/cigla/Documents/Dev/psutil/psutil/__init__.py", line 2120, in disk_usage
return _psplatform.disk_usage(path)
File "/home/cigla/Documents/Dev/psutil/psutil/_psposix.py", line 125, in disk_usage
st = os.statvfs(path)
FileNotFoundError: [Errno 2] No such file or directory: '/home/cigla/documents'
======================================================================
ERROR: psutil.tests.test_linux.TestSystemDiskIoCounters.test_emulate_use_sysfs
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cigla/Documents/Dev/psutil/psutil/tests/test_linux.py", line 1194, in test_emulate_use_sysfs
wsysfs = psutil.disk_io_counters(perdisk=True)
File "/home/cigla/Documents/Dev/psutil/psutil/__init__.py", line 2168, in disk_io_counters
rawdict = _psplatform.disk_io_counters(**kwargs)
File "/home/cigla/Documents/Dev/psutil/psutil/_pslinux.py", line 1125, in disk_io_counters
for entry in gen:
File "/home/cigla/Documents/Dev/psutil/psutil/_pslinux.py", line 1110, in read_sysfs
(reads, reads_merged, rbytes, rtime, writes, writes_merged,
ValueError: too many values to unpack (expected 11)
======================================================================
FAIL: psutil.tests.test_system.TestSystemAPIs.test_sensors_battery
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cigla/Documents/Dev/psutil/psutil/tests/test_system.py", line 863, in test_sensors_battery
self.assertIsInstance(ret.power_plugged, bool)
AssertionError: None is not an instance of <class 'bool'>
----------------------------------------------------------------------
{ you may want to do this in order to discover other issues affecting your platform }
{ if failures look unrelated with the issue at hand open another ticket }
The text was updated successfully, but these errors were encountered:
Platform
Bug description
When laptop is plugged the sensors_battery() gives wierd result
Test results
{ you may want to do this in order to discover other issues affecting your platform }
{ if failures look unrelated with the issue at hand open another ticket }
The text was updated successfully, but these errors were encountered: