using C:\Users\light\venv\psutil\Scripts\python.exe cmd: ['C:\\Users\\light\\venv\\psutil\\Scripts\\python.exe', '-c', 'import setuptools'] running build_ext copying build\lib.win-amd64-cpython-313\psutil\_psutil_windows.pyd -> psutil cmd: ['C:\\Users\\light\\venv\\psutil\\Scripts\\python.exe', '-c', 'import psutil'] build + import successful cmd: ['C:\\Users\\light\\venv\\psutil\\Scripts\\python.exe', '-m', 'pytest', '--ignore=psutil/tests/test_memleaks.py', '-v', '-s', '--tb=short'] ============================================================================================= test session starts ============================================================================================== platform win32 -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- C:\Users\light\venv\psutil\Scripts\python.exe cachedir: .pytest_cache rootdir: C:\Users\light\venv\psutil\psutil configfile: pyproject.toml plugins: xdist-3.6.1 collected 584 items psutil/tests/test_aix.py::AIXSpecificTestCase::test_cpu_count_logical SKIPPED (AIX only) psutil/tests/test_aix.py::AIXSpecificTestCase::test_cpu_stats SKIPPED (AIX only) psutil/tests/test_aix.py::AIXSpecificTestCase::test_net_if_addrs_names SKIPPED (AIX only) psutil/tests/test_aix.py::AIXSpecificTestCase::test_swap_memory SKIPPED (AIX only) psutil/tests/test_aix.py::AIXSpecificTestCase::test_virtual_memory SKIPPED (AIX only) psutil/tests/test_bsd.py::BSDTestCase::test_cpu_count_logical SKIPPED (sysctl cmd not available) psutil/tests/test_bsd.py::BSDTestCase::test_disks SKIPPED (BSD only) psutil/tests/test_bsd.py::BSDTestCase::test_net_if_stats SKIPPED (ifconfig cmd not available) psutil/tests/test_bsd.py::BSDTestCase::test_process_create_time SKIPPED (BSD only) psutil/tests/test_bsd.py::BSDTestCase::test_virtual_memory_total SKIPPED (sysctl cmd not available) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_cmdline SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_cpu_times SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_ctx_switches SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_exe SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_memory_maps SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_uids_gids SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_boot_time SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_frequency_against_sysctl SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_stats_ctx_switches SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_stats_interrupts SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_stats_soft_interrupts SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_stats_syscalls SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_active SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_buffers SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_cached SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_free SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_inactive SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_total SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_wired SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_sensors_battery SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_sensors_battery_against_sysctl SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_sensors_battery_no_battery SKIPPED (has battery) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_sensors_temperatures_against_sysctl SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_swapmem_free SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_swapmem_total SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_swapmem_used SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_active SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_buffers SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_cached SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_free SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_inactive SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_wired SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::OpenBSDTestCase::test_boot_time SKIPPED (OPENBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_cpu_stats_ctx_switches SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_cpu_stats_interrupts SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_swapmem_free SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_swapmem_total SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_swapmem_used SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_buffers SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_cached SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_free SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_shared SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_total SKIPPED (NETBSD only) psutil/tests/test_connections.py::TestBasicOperations::test_invalid_kind PASSED psutil/tests/test_connections.py::TestBasicOperations::test_process PASSED psutil/tests/test_connections.py::TestBasicOperations::test_system PASSED psutil/tests/test_connections.py::TestUnconnectedSockets::test_tcp_v4 PASSED psutil/tests/test_connections.py::TestUnconnectedSockets::test_tcp_v6 PASSED psutil/tests/test_connections.py::TestUnconnectedSockets::test_udp_v4 PASSED psutil/tests/test_connections.py::TestUnconnectedSockets::test_udp_v6 PASSED psutil/tests/test_connections.py::TestUnconnectedSockets::test_unix_tcp SKIPPED (POSIX only) psutil/tests/test_connections.py::TestUnconnectedSockets::test_unix_udp SKIPPED (POSIX only) psutil/tests/test_connections.py::TestConnectedSocket::test_tcp PASSED psutil/tests/test_connections.py::TestConnectedSocket::test_unix SKIPPED (POSIX only) psutil/tests/test_connections.py::TestFilters::test_combos PASSED psutil/tests/test_connections.py::TestFilters::test_count PASSED psutil/tests/test_connections.py::TestFilters::test_filters PASSED psutil/tests/test_connections.py::TestSystemWideConnections::test_it PASSED psutil/tests/test_connections.py::TestSystemWideConnections::test_multi_sockets_procs FAILED psutil/tests/test_connections.py::TestMisc::test_net_connection_constants PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_PROCFS_PATH PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_linux_ioprio_linux PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_linux_ioprio_windows PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_rlimit PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_win_priority PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_battery PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_cpu_freq PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_sensors_fans PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_sensors_temperatures PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_win_service_get PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_win_service_iter PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_cpu_affinity PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_cpu_num PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_environ PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_gids PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_io_counters PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_ionice PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_memory_maps PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_num_fds PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_num_handles PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_rlimit PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_terminal PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_uids PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_boot_time PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_count PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_freq PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_percent PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_times PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_times_percent PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_disk_io_counters PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_disk_partitions PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_net_connections PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_net_if_addrs PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_net_if_stats PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_net_io_counters PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_sensors_fans SKIPPED (not supported) psutil/tests/test_contracts.py::TestSystemAPITypes::test_sensors_temperatures SKIPPED (not supported) psutil/tests/test_contracts.py::TestSystemAPITypes::test_users PASSED psutil/tests/test_contracts.py::TestProcessWaitType::test_negative_signal SKIPPED (not POSIX) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_available SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_free SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_shared SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_total SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_active SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_buffers SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_free SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_inactive SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_total SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_avail_old_comes_from_kernel SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_avail_old_missing_fields SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_avail_old_missing_zoneinfo SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_avail_old_percent SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_virtual_memory_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_warnings_on_misses SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_emulate_meminfo_has_no_metrics SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_free SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_meminfo_against_sysinfo SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_missing_sin_sout SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_no_vmstat_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_total SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_used SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUTimes::test_fields SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_against_lscpu SKIPPED (lscpu utility not available) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc SKIPPED (nproc utility not available) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_against_sysdev_cpu_num SKIPPED (/sys/devices/system/cpu does not exist) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_against_sysdev_cpu_online SKIPPED (/sys/devices/system/cpu/online does not exist) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_emulate_fallbacks SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUCountCores::test_against_lscpu SKIPPED (lscpu utility not available) psutil/tests/test_linux.py::TestSystemCPUCountCores::test_emulate_none SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUCountCores::test_method_2 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_data SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_multi_cpu SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_no_scaling_cur_freq_file SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_second_file SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUStats::test_interrupts SKIPPED (LINUX only) psutil/tests/test_linux.py::TestLoadAvg::test_getloadavg SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemNetIfAddrs::test_ips SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemNetIfStats::test_against_ifconfig SKIPPED (ifconfig utility not available) psutil/tests/test_linux.py::TestSystemNetIfStats::test_flags SKIPPED (ifconfig utility not available) psutil/tests/test_linux.py::TestSystemNetIfStats::test_mtu SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemNetIOCounters::test_against_ifconfig SKIPPED (ifconfig utility not available) psutil/tests/test_linux.py::TestSystemNetConnections::test_emulate_ipv6_unsupported SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemNetConnections::test_emulate_unix SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskPartitions::test_against_df SKIPPED (os.statvfs() not available) psutil/tests/test_linux.py::TestSystemDiskPartitions::test_emulate_realpath_fail SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskPartitions::test_zfs_fs SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_exclude_partitions SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_include_partitions SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_kernel_2_4 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_kernel_2_6_full SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_kernel_2_6_limited SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_not_impl SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_use_sysfs SKIPPED (LINUX only) psutil/tests/test_linux.py::TestRootFsDeviceFinder::test_against_findmnt SKIPPED (findmnt utility not available) psutil/tests/test_linux.py::TestRootFsDeviceFinder::test_call_methods SKIPPED (LINUX only) psutil/tests/test_linux.py::TestRootFsDeviceFinder::test_comparisons SKIPPED (LINUX only) psutil/tests/test_linux.py::TestRootFsDeviceFinder::test_disk_partitions_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_boot_time SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_boot_time_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_cpu_steal_decrease SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_issue_687 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_no_procfs_on_import SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_pid_exists_no_proc_status SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_procfs_path SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_users SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_0 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_not_avail SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_no_power SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_not_plugged SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_not_plugged_2 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_plugged SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_plugged_2 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_undetermined SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_percent SKIPPED (acpi utility not available) psutil/tests/test_linux.py::TestSensorsBatteryEmulated::test_it SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsTemperatures::test_emulate_class_hwmon SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsTemperatures::test_emulate_class_thermal SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsFans::test_emulate_data SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_cmdline_mixed_separators SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_cmdline_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_cmdline_spaces_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_exe_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_issue_1014 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_issue_2418 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_net_connections_enametoolong SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_open_files_enametoolong SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_open_files_fd_gone SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_open_files_file_gone SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_open_files_mode SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_parse_smaps_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_parse_smaps_vs_memory_maps SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_readlink_path_deleted_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_rlimit_zombie SKIPPED (not supported) psutil/tests/test_linux.py::TestProcess::test_stat_file_parsing SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_status_file_parsing SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_terminal_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_threads_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity_eligible_cpus SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_gids SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_name SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_num_ctx_switches SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_num_threads SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_ppid SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_status SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_uids SKIPPED (LINUX only) psutil/tests/test_linux.py::TestUtils::test_readlink SKIPPED (LINUX only) psutil/tests/test_misc.py::TestSpecialMethods::test_access_denied__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_access_denied__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_check_pid_range PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_error__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_error__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_no_such_process__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_no_such_process__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_process__eq__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_process__hash__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_process__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_process__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_timeout_expired__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_timeout_expired__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_zombie_process__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_zombie_process__str__ PASSED psutil/tests/test_misc.py::TestMisc::test__all__ PASSED psutil/tests/test_misc.py::TestMisc::test_ad_on_process_creation PASSED psutil/tests/test_misc.py::TestMisc::test_process_as_dict_no_new_names PASSED psutil/tests/test_misc.py::TestMisc::test_sanity_version_check PASSED psutil/tests/test_misc.py::TestMisc::test_serialization PASSED psutil/tests/test_misc.py::TestMisc::test_version PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_class PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_class_singleton PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_classmethod PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_function PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_original PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_staticmethod PASSED psutil/tests/test_misc.py::TestCommonModule::test_cat_bcat PASSED psutil/tests/test_misc.py::TestCommonModule::test_debug PASSED psutil/tests/test_misc.py::TestCommonModule::test_isfile_strict PASSED psutil/tests/test_misc.py::TestCommonModule::test_memoize_when_activated PASSED psutil/tests/test_misc.py::TestCommonModule::test_parse_environ_block PASSED psutil/tests/test_misc.py::TestCommonModule::test_supports_ipv6 PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_call_twice PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_changing_keys PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_clear PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_clear_public_apis PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_first_call PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_wrap PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_changing_keys PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_changing_keys_w_wrap PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_first_call PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_increase_but_no_wrap PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_input_hasnt_changed PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_real_data PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_wrap PASSED psutil/tests/test_osx.py::TestProcess::test_process_create_time SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_cpu_count_cores SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_cpu_count_logical SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_cpu_freq SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_disks SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_net_if_stats SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_sensors_battery SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_swapmem_sin SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_swapmem_sout SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_active SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_free SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_inactive SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_total SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_wired SKIPPED (MACOS only) psutil/tests/test_posix.py::TestProcess::test_cmdline SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_create_time SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_exe SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_gid SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_name SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_name_long SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_name_long_cmdline_ad_exc SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_name_long_cmdline_nsp_exc SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_nice SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_ppid SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_rss_memory SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_uid SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_username SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_username_no_resolution SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_vsz_memory SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_disk_usage SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_nic_names SKIPPED (no ifconfig cmd) psutil/tests/test_posix.py::TestSystemAPIs::test_os_waitpid_bad_ret_status SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_os_waitpid_eintr SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_os_waitpid_let_raise SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_pid_exists_let_raise SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_pids SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_users SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_users_started SKIPPED (POSIX only) psutil/tests/test_posix.py::TestMisc::test_getpagesize SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_as_dict psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:1035]> attempting io_counters() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:927]> attempting create_time() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:1095]> attempting num_handles() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:951]> attempting cpu_times() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:803]> attempting memory_info() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:951]> attempting cpu_times() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:803]> attempting memory_info() fallback (slower) PASSED psutil/tests/test_process.py::TestProcess::test_children PASSED psutil/tests/test_process.py::TestProcess::test_children_duplicates psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:927]> attempting create_time() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:927]> attempting create_time() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:927]> attempting create_time() fallback (slower) PASSED psutil/tests/test_process.py::TestProcess::test_children_recursive PASSED psutil/tests/test_process.py::TestProcess::test_cmdline PASSED psutil/tests/test_process.py::TestProcess::test_cpu_affinity PASSED psutil/tests/test_process.py::TestProcess::test_cpu_affinity_all_combinations PASSED psutil/tests/test_process.py::TestProcess::test_cpu_affinity_errs PASSED psutil/tests/test_process.py::TestProcess::test_cpu_num SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_cpu_percent PASSED psutil/tests/test_process.py::TestProcess::test_cpu_percent_numcpus_none PASSED psutil/tests/test_process.py::TestProcess::test_cpu_times PASSED psutil/tests/test_process.py::TestProcess::test_cpu_times_2 PASSED psutil/tests/test_process.py::TestProcess::test_create_time PASSED psutil/tests/test_process.py::TestProcess::test_cwd PASSED psutil/tests/test_process.py::TestProcess::test_cwd_2 PASSED psutil/tests/test_process.py::TestProcess::test_environ PASSED psutil/tests/test_process.py::TestProcess::test_exe PASSED psutil/tests/test_process.py::TestProcess::test_gids SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_halfway_terminated_process PASSED psutil/tests/test_process.py::TestProcess::test_invalid_pid PASSED psutil/tests/test_process.py::TestProcess::test_io_counters PASSED psutil/tests/test_process.py::TestProcess::test_ionice_linux SKIPPED (linux only) psutil/tests/test_process.py::TestProcess::test_ionice_win PASSED psutil/tests/test_process.py::TestProcess::test_is_running PASSED psutil/tests/test_process.py::TestProcess::test_kill PASSED psutil/tests/test_process.py::TestProcess::test_long_cmdline PASSED psutil/tests/test_process.py::TestProcess::test_long_name PASSED psutil/tests/test_process.py::TestProcess::test_memory_full_info PASSED psutil/tests/test_process.py::TestProcess::test_memory_info PASSED psutil/tests/test_process.py::TestProcess::test_memory_maps PASSED psutil/tests/test_process.py::TestProcess::test_memory_maps_lists_lib PASSED psutil/tests/test_process.py::TestProcess::test_memory_percent PASSED psutil/tests/test_process.py::TestProcess::test_name PASSED psutil/tests/test_process.py::TestProcess::test_nice PASSED psutil/tests/test_process.py::TestProcess::test_num_ctx_switches PASSED psutil/tests/test_process.py::TestProcess::test_num_fds SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_num_handles PASSED psutil/tests/test_process.py::TestProcess::test_num_threads PASSED psutil/tests/test_process.py::TestProcess::test_oneshot PASSED psutil/tests/test_process.py::TestProcess::test_oneshot_cache PASSED psutil/tests/test_process.py::TestProcess::test_oneshot_twice PASSED psutil/tests/test_process.py::TestProcess::test_open_files FAILED psutil/tests/test_process.py::TestProcess::test_open_files_2 PASSED psutil/tests/test_process.py::TestProcess::test_parent PASSED psutil/tests/test_process.py::TestProcess::test_parent_multi PASSED psutil/tests/test_process.py::TestProcess::test_parents PASSED psutil/tests/test_process.py::TestProcess::test_parents_and_children PASSED psutil/tests/test_process.py::TestProcess::test_pid PASSED psutil/tests/test_process.py::TestProcess::test_pid_0 psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:927]> attempting create_time() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:1035]> attempting io_counters() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:803]> attempting memory_info() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:803]> attempting memory_info() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:1095]> attempting num_handles() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:951]> attempting cpu_times() fallback (slower) PASSED psutil/tests/test_process.py::TestProcess::test_ppid PASSED psutil/tests/test_process.py::TestProcess::test_reused_pid PASSED psutil/tests/test_process.py::TestProcess::test_rlimit SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_rlimit_get SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_rlimit_infinity SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_rlimit_infinity_value SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_rlimit_set SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_send_signal PASSED psutil/tests/test_process.py::TestProcess::test_send_signal_mocked SKIPPED (not POSIX) psutil/tests/test_process.py::TestProcess::test_status PASSED psutil/tests/test_process.py::TestProcess::test_suspend_resume PASSED psutil/tests/test_process.py::TestProcess::test_terminal SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_terminate PASSED psutil/tests/test_process.py::TestProcess::test_threads PASSED psutil/tests/test_process.py::TestProcess::test_threads_2 PASSED psutil/tests/test_process.py::TestProcess::test_uids SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_username PASSED psutil/tests/test_process.py::TestProcess::test_wait_exited PASSED psutil/tests/test_process.py::TestProcess::test_wait_non_children PASSED psutil/tests/test_process.py::TestProcess::test_wait_stopped PASSED psutil/tests/test_process.py::TestProcess::test_wait_timeout PASSED psutil/tests/test_process.py::TestProcess::test_wait_timeout_nonblocking PASSED psutil/tests/test_process.py::TestProcess::test_weird_environ SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_zombie_process SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_zombie_process_is_running_w_exc SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_zombie_process_status_w_exc SKIPPED (POSIX only) psutil/tests/test_process.py::TestPopen::test__getattribute__ PASSED psutil/tests/test_process.py::TestPopen::test_ctx_manager PASSED psutil/tests/test_process.py::TestPopen::test_kill_terminate PASSED psutil/tests/test_process.py::TestPopen::test_misc PASSED psutil/tests/test_process_all.py::TestFetchAllProcesses::test_all FAILED psutil/tests/test_process_all.py::TestPidsRange::test_it FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_battery FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_coverage PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_cpu_distribution PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_disk_usage FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_executable SKIPPED (POSIX only) psutil/tests/test_scripts.py::TestExampleScripts::test_fans SKIPPED (not supported) psutil/tests/test_scripts.py::TestExampleScripts::test_free FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_ifconfig FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_iotop PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_killall PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_meminfo FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_netstat FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_nettop PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_pidof FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pmap FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_procinfo FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_procsmem FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_ps FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pstree FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_sensors PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_temperatures SKIPPED (not supported) psutil/tests/test_scripts.py::TestExampleScripts::test_top PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_who FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_winservices FAILED psutil/tests/test_scripts.py::TestInternalScripts::test_import_all FAILED psutil/tests/test_scripts.py::TestInternalScripts::test_syntax_all PASSED psutil/tests/test_scripts.py::TestSetupScript::test_invocation PASSED psutil/tests/test_scripts.py::TestSetupScript::test_python2 SKIPPED (python2.7 not installed) psutil/tests/test_sunos.py::SunOSSpecificTestCase::test_cpu_count SKIPPED (SUNOS only) psutil/tests/test_sunos.py::SunOSSpecificTestCase::test_swap_memory SKIPPED (SUNOS only) psutil/tests/test_system.py::TestProcessIter::test_attrs PASSED psutil/tests/test_system.py::TestProcessIter::test_cache_clear PASSED psutil/tests/test_system.py::TestProcessIter::test_emulate_access_denied PASSED psutil/tests/test_system.py::TestProcessIter::test_emulate_nsp PASSED psutil/tests/test_system.py::TestProcessIter::test_no_duplicates PASSED psutil/tests/test_system.py::TestProcessIter::test_pid_presence PASSED psutil/tests/test_system.py::TestProcessAPIs::test_pid_exists PASSED psutil/tests/test_system.py::TestProcessAPIs::test_pid_exists_2 PASSED psutil/tests/test_system.py::TestProcessAPIs::test_wait_procs PASSED psutil/tests/test_system.py::TestProcessAPIs::test_wait_procs_no_timeout PASSED psutil/tests/test_system.py::TestMiscAPIs::test_boot_time PASSED psutil/tests/test_system.py::TestMiscAPIs::test_os_constants PASSED psutil/tests/test_system.py::TestMiscAPIs::test_users PASSED psutil/tests/test_system.py::TestMemoryAPIs::test_swap_memory PASSED psutil/tests/test_system.py::TestMemoryAPIs::test_virtual_memory PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_count_cores PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_count_logical PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_count_none PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_freq PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_percent PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_stats PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_times PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_times_comparison PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_times_percent PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_times_time_increases PASSED psutil/tests/test_system.py::TestCpuAPIs::test_getloadavg PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_percent PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_times PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_times_2 PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_times_percent PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_times_percent_negative PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_io_counters PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_io_counters_no_disks PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_partitions FAILED psutil/tests/test_system.py::TestDiskAPIs::test_disk_usage PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_usage_bytes PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_usage_unicode SKIPPED (not an ASCII fs) psutil/tests/test_system.py::TestNetAPIs::test_net_if_addrs PASSED psutil/tests/test_system.py::TestNetAPIs::test_net_if_addrs_mac_null_bytes PASSED psutil/tests/test_system.py::TestNetAPIs::test_net_if_stats PASSED psutil/tests/test_system.py::TestNetAPIs::test_net_if_stats_enodev SKIPPED (LINUX or BSD or MACOS specific) psutil/tests/test_system.py::TestNetAPIs::test_net_io_counters PASSED psutil/tests/test_system.py::TestNetAPIs::test_net_io_counters_no_nics PASSED psutil/tests/test_system.py::TestSensorsAPIs::test_sensors_battery PASSED psutil/tests/test_system.py::TestSensorsAPIs::test_sensors_fans SKIPPED (not supported) psutil/tests/test_system.py::TestSensorsAPIs::test_sensors_temperatures SKIPPED (not supported) psutil/tests/test_system.py::TestSensorsAPIs::test_sensors_temperatures_fahreneit SKIPPED (not supported) psutil/tests/test_testutils.py::TestRetryDecorator::test_exception_arg PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_no_interval_arg PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_retries_and_timeout_args PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_retries_arg PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_retry_failure PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_retry_success PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_call_until PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_file PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_file_empty PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_file_no_delete PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_file_no_file PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_pid PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_chdir PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_open_binary PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_open_text PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_safe_mkdir PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_safe_rmpath PASSED psutil/tests/test_testutils.py::TestProcessUtils::test_reap_children PASSED psutil/tests/test_testutils.py::TestProcessUtils::test_spawn_children_pair PASSED psutil/tests/test_testutils.py::TestProcessUtils::test_spawn_zombie SKIPPED (POSIX only) psutil/tests/test_testutils.py::TestProcessUtils::test_terminate PASSED psutil/tests/test_testutils.py::TestNetUtils::test_bind_unix_socket SKIPPED (POSIX only) psutil/tests/test_testutils.py::TestNetUtils::test_create_sockets PASSED psutil/tests/test_testutils.py::TestNetUtils::test_tcp_socketpair PASSED psutil/tests/test_testutils.py::TestNetUtils::test_unix_socketpair SKIPPED (POSIX only) psutil/tests/test_testutils.py::TestMemLeakClass::test_execute_w_exc PASSED psutil/tests/test_testutils.py::TestMemLeakClass::test_leak_mem Run #1: extra-mem=24.2M, per-call=248.1K, calls=100 Run #2: extra-mem=48.7M, per-call=249.5K, calls=200 Run #3: extra-mem=72.7M, per-call=248.2K, calls=300 Run #4: extra-mem=98.1M, per-call=251.1K, calls=400 Run #5: extra-mem=121.2M, per-call=248.2K, calls=500 PASSED psutil/tests/test_testutils.py::TestMemLeakClass::test_param_err PASSED psutil/tests/test_testutils.py::TestMemLeakClass::test_times Run #1: extra-mem=128.0K, per-call=12.8K, calls=10 Run #2: extra-mem=128.0K, per-call=6.4K, calls=20 AssertionError('assert 46 == 26'), retrying Run #1: extra-mem=128.0K, per-call=12.8K, calls=10 Run #2: extra-mem=128.0K, per-call=6.4K, calls=20 AssertionError('assert 46 == 26'), retrying Run #1: extra-mem=128.0K, per-call=12.8K, calls=10 Run #2: extra-mem=128.0K, per-call=6.4K, calls=20 AssertionError('assert 46 == 26'), retrying PASSED psutil/tests/test_testutils.py::TestMemLeakClass::test_tolerance PASSED psutil/tests/test_testutils.py::TestMemLeakClass::test_unclosed_files PASSED psutil/tests/test_testutils.py::TestFakePytest::test_main test_passed (test_file.TestCase.test_passed) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.001s OK PASSED psutil/tests/test_testutils.py::TestFakePytest::test_mark PASSED psutil/tests/test_testutils.py::TestFakePytest::test_raises PASSED psutil/tests/test_testutils.py::TestFakePytest::test_skip s ---------------------------------------------------------------------- Ran 1 test in 0.000s OK (skipped=1) PASSED psutil/tests/test_testutils.py::TestFakePytest::test_skipif s ---------------------------------------------------------------------- Ran 1 test in 0.000s OK (skipped=1) . ---------------------------------------------------------------------- Ran 1 test in 0.000s OK PASSED psutil/tests/test_testutils.py::TestFakePytest::test_warns PASSED psutil/tests/test_testutils.py::TestTestingUtils::test_process_namespace PASSED psutil/tests/test_testutils.py::TestTestingUtils::test_system_namespace PASSED psutil/tests/test_testutils.py::TestOtherUtils::test_is_namedtuple PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_disk_usage PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_memory_maps PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_net_connections SKIPPED (can't list UNIX sockets) psutil/tests/test_unicode.py::TestFSAPIs::test_proc_cmdline PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_cwd PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_exe PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_name PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_net_connections SKIPPED (POSIX only) psutil/tests/test_unicode.py::TestFSAPIs::test_proc_open_files PASSED psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_disk_usage PASSED psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_memory_maps PASSED psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_net_connections SKIPPED (can't list UNIX sockets) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_cmdline PASSED psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_cwd PASSED psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_exe PASSED psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_name PASSED psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_net_connections SKIPPED (POSIX only) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_open_files PASSED psutil/tests/test_unicode.py::TestNonFSAPIS::test_proc_environ PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_cores_vs_wmi PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_logical_vs_wmi PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_vs_GetSystemInfo PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_vs_NUMBER_OF_PROCESSORS PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_vs_cpu_times PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_freq PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_boot_time PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_boot_time_fluctuation PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_disk_partitions PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_disk_usage FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_disks FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_free_phymem PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_net_if_stats PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_nic_names PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_percent_swapmem PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_pids PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_total_phymem PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_total_swapmem PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_emulate_no_battery PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_emulate_power_charging PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_emulate_power_connected PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_emulate_secs_left_unknown PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_has_battery PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_percent FAILED psutil/tests/test_windows.py::TestSensorsBattery::test_power_plugged PASSED psutil/tests/test_windows.py::TestProcess::test_cmdline PASSED psutil/tests/test_windows.py::TestProcess::test_cpu_affinity PASSED psutil/tests/test_windows.py::TestProcess::test_ctrl_signals PASSED psutil/tests/test_windows.py::TestProcess::test_error_partial_copy PASSED psutil/tests/test_windows.py::TestProcess::test_exe PASSED psutil/tests/test_windows.py::TestProcess::test_io_counters PASSED psutil/tests/test_windows.py::TestProcess::test_issue_24 PASSED psutil/tests/test_windows.py::TestProcess::test_memory_info PASSED psutil/tests/test_windows.py::TestProcess::test_nice PASSED psutil/tests/test_windows.py::TestProcess::test_num_handles PASSED psutil/tests/test_windows.py::TestProcess::test_num_handles_increment PASSED psutil/tests/test_windows.py::TestProcess::test_send_signal PASSED psutil/tests/test_windows.py::TestProcess::test_special_pid psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:927]> attempting create_time() fallback (slower) psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:803]> attempting memory_info() fallback (slower) PASSED psutil/tests/test_windows.py::TestProcess::test_username PASSED psutil/tests/test_windows.py::TestProcess::test_wait PASSED psutil/tests/test_windows.py::TestProcessWMI::test_cmdline PASSED psutil/tests/test_windows.py::TestProcessWMI::test_create_time PASSED psutil/tests/test_windows.py::TestProcessWMI::test_exe PASSED psutil/tests/test_windows.py::TestProcessWMI::test_memory_rss PASSED psutil/tests/test_windows.py::TestProcessWMI::test_memory_vms PASSED psutil/tests/test_windows.py::TestProcessWMI::test_name PASSED psutil/tests/test_windows.py::TestProcessWMI::test_username PASSED psutil/tests/test_windows.py::TestDualProcessImplementation::test_cmdline PASSED psutil/tests/test_windows.py::TestDualProcessImplementation::test_cpu_times psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:951]> attempting cpu_times() fallback (slower) PASSED psutil/tests/test_windows.py::TestDualProcessImplementation::test_create_time psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:927]> attempting create_time() fallback (slower) PASSED psutil/tests/test_windows.py::TestDualProcessImplementation::test_io_counters psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:1035]> attempting io_counters() fallback (slower) PASSED psutil/tests/test_windows.py::TestDualProcessImplementation::test_memory_info psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:803]> attempting memory_info() fallback (slower) PASSED psutil/tests/test_windows.py::TestDualProcessImplementation::test_num_handles psutil-debug [C:\Users\light\venv\psutil\psutil\psutil\_pswindows.py:1095]> attempting num_handles() fallback (slower) PASSED psutil/tests/test_windows.py::RemoteProcessTestCase::test_cmdline_32 SKIPPED (could not find interpreter with opposite bitness) psutil/tests/test_windows.py::RemoteProcessTestCase::test_cmdline_64 SKIPPED (could not find interpreter with opposite bitness) psutil/tests/test_windows.py::RemoteProcessTestCase::test_cwd_32 SKIPPED (could not find interpreter with opposite bitness) psutil/tests/test_windows.py::RemoteProcessTestCase::test_cwd_64 SKIPPED (could not find interpreter with opposite bitness) psutil/tests/test_windows.py::RemoteProcessTestCase::test_environ_32 SKIPPED (could not find interpreter with opposite bitness) psutil/tests/test_windows.py::RemoteProcessTestCase::test_environ_64 SKIPPED (could not find interpreter with opposite bitness) psutil/tests/test_windows.py::TestServices::test_win_service_get PASSED psutil/tests/test_windows.py::TestServices::test_win_service_iter FAILED =================================================================================================== FAILURES =================================================================================================== ______________________________________________________________________________ TestSystemWideConnections.test_multi_sockets_procs ______________________________________________________________________________ psutil\tests\test_connections.py:538: in test_multi_sockets_procs wait_for_file(fname) psutil\tests\__init__.py:717: in wrapper raise exc psutil\tests\__init__.py:709: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:748: in wait_for_file with open(fname, "rb") as f: E FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\light\\AppData\\Local\\Temp\\@psutil-35428-a3m2te99' _________________________________________________________________________________________ TestProcess.test_open_files __________________________________________________________________________________________ psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:985: in open_files raw_file_names = cext.proc_open_files(self.pid) E ProcessLookupError: [Errno 3] assume no such process (originated from GetExitCodeProcess != STILL_ACTIVE) The above exception was the direct cause of the following exception: psutil\tests\test_process.py:1084: in test_open_files filenames = [os.path.normcase(x.path) for x in p.open_files()] psutil\__init__.py:1210: in open_files return self._proc.open_files() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err E psutil.NoSuchProcess: process no longer exists (pid=41332) ________________________________________________________________________________________ TestFetchAllProcesses.test_all ________________________________________________________________________________________ psutil\tests\test_process_all.py:154: in test_all raise self.fail(''.join(failures)) E AssertionError: E ====================================================================== E FAIL: name=test_memory_info, pid=140, ret=pmem(rss=76578816, vms=188416, num_page_faults=140, peak_wset=126976, wset=76578816, peak_paged_pool=9992, paged_pool=8928, peak_nonpaged_pool=408, nonpaged_pool=272, pagefile=188416, peak_pagefile=237568, private=188416) E info={'pid': 140, 'create_time': 1735130921.558746, 'memory_info': pmem(rss=76578816, vms=188416, num_page_faults=140, peak_wset=126976, wset=76578816, peak_paged_pool=9992, paged_pool=8928, peak_nonpaged_pool=408, nonpaged_pool=272, pagefile=188416, peak_pagefile=237568, private=188416), 'num_ctx_switches': pctxsw(voluntary=0, involuntary=0), 'num_threads': 0, 'io_counters': pio(read_count=0, write_count=0, read_bytes=0, write_bytes=0, other_count=0, other_bytes=0), 'status': 'stopped', 'num_handles': 0, 'name': '', 'exe': '', 'threads': [], 'net_connections': [], 'ppid': 4, 'cpu_times': pcputimes(user=0.0, system=0.0, children_user=0.0, children_system=0.0)} E ---------------------------------------------------------------------- E Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\psutil\tests\test_process_all.py", line 135, in test_all E meth(value, info) E ~~~~^^^^^^^^^^^^^ E File "C:\Users\light\venv\psutil\psutil\psutil\tests\test_process_all.py", line 310, in memory_info E assert ret.peak_wset >= ret.wset E AssertionError: assert 126976 >= 76578816 E + where 126976 = pmem(rss=76578816, vms=188416, num_page_faults=140, peak_wset=126976, wset=76578816, peak_paged_pool=9992, paged_pool=8928, peak_nonpaged_pool=408, nonpaged_pool=272, pagefile=188416, peak_pagefile=237568, private=188416).peak_wset E + and 76578816 = pmem(rss=76578816, vms=188416, num_page_faults=140, peak_wset=126976, wset=76578816, peak_paged_pool=9992, paged_pool=8928, peak_nonpaged_pool=408, nonpaged_pool=272, pagefile=188416, peak_pagefile=237568, private=188416).wset ____________________________________________________________________________________________ TestPidsRange.test_it _____________________________________________________________________________________________ psutil\tests\test_process_all.py:541: in test_it check(pid) psutil\tests\test_process_all.py:523: in check with pytest.raises(psutil.NoSuchProcess): E Failed: DID NOT RAISE _______________________________________________________________________________________ TestExampleScripts.test_battery ________________________________________________________________________________________ psutil\tests\test_scripts.py:171: in test_battery self.assert_stdout('battery.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: platform not supported ______________________________________________________________________________________ TestExampleScripts.test_disk_usage ______________________________________________________________________________________ psutil\tests\test_scripts.py:96: in test_disk_usage self.assert_stdout('disk_usage.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\disk_usage.py", line 22, in E from psutil._common import bytes2human E ModuleNotFoundError: No module named 'psutil._common' _________________________________________________________________________________________ TestExampleScripts.test_free _________________________________________________________________________________________ psutil\tests\test_scripts.py:99: in test_free self.assert_stdout('free.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\free.py", line 48, in E main() E ~~~~^^ E File "C:\Users\light\venv\psutil\psutil\scripts\free.py", line 19, in main E virt = psutil.virtual_memory() E ^^^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'psutil' has no attribute 'virtual_memory' _______________________________________________________________________________________ TestExampleScripts.test_ifconfig _______________________________________________________________________________________ psutil\tests\test_scripts.py:122: in test_ifconfig self.assert_stdout('ifconfig.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\ifconfig.py", line 49, in E from psutil._common import bytes2human E ModuleNotFoundError: No module named 'psutil._common' _______________________________________________________________________________________ TestExampleScripts.test_meminfo ________________________________________________________________________________________ psutil\tests\test_scripts.py:102: in test_meminfo self.assert_stdout('meminfo.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\meminfo.py", line 33, in E from psutil._common import bytes2human E ModuleNotFoundError: No module named 'psutil._common' _______________________________________________________________________________________ TestExampleScripts.test_netstat ________________________________________________________________________________________ psutil\tests\test_scripts.py:118: in test_netstat self.assert_stdout('netstat.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Proto Local address Remote address Status PID Program name E Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\netstat.py", line 71, in E main() E ~~~~^^ E File "C:\Users\light\venv\psutil\psutil\scripts\netstat.py", line 51, in main E for p in psutil.process_iter(['pid', 'name']): E ^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'psutil' has no attribute 'process_iter' ________________________________________________________________________________________ TestExampleScripts.test_pidof _________________________________________________________________________________________ psutil\tests\test_scripts.py:146: in test_pidof output = self.assert_stdout('pidof.py', psutil.Process().name()) psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\pidof.py", line 42, in E main() E ~~~~^^ E File "C:\Users\light\venv\psutil\psutil\scripts\pidof.py", line 36, in main E pids = pidof(pgname) E File "C:\Users\light\venv\psutil\psutil\scripts\pidof.py", line 22, in pidof E for proc in psutil.process_iter(['name', 'cmdline']): E ^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'psutil' has no attribute 'process_iter' _________________________________________________________________________________________ TestExampleScripts.test_pmap _________________________________________________________________________________________ psutil\tests\test_scripts.py:126: in test_pmap self.assert_stdout('pmap.py', str(os.getpid())) psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\pmap.py", line 35, in E from psutil._common import bytes2human E ModuleNotFoundError: No module named 'psutil._common' _______________________________________________________________________________________ TestExampleScripts.test_procinfo _______________________________________________________________________________________ psutil\tests\test_scripts.py:105: in test_procinfo self.assert_stdout('procinfo.py', str(os.getpid())) psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\procinfo.py", line 94, in E from psutil._common import bytes2human E ModuleNotFoundError: No module named 'psutil._common' _______________________________________________________________________________________ TestExampleScripts.test_procsmem _______________________________________________________________________________________ psutil\tests\test_scripts.py:131: in test_procsmem self.assert_stdout('procsmem.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\procsmem.py", line 44, in E if not (psutil.LINUX or psutil.MACOS or psutil.WINDOWS): E ^^^^^^^^^^^^ E AttributeError: module 'psutil' has no attribute 'LINUX' __________________________________________________________________________________________ TestExampleScripts.test_ps __________________________________________________________________________________________ psutil\tests\test_scripts.py:112: in test_ps self.assert_stdout('ps.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\ps.py", line 39, in E from psutil._common import bytes2human E ModuleNotFoundError: No module named 'psutil._common' ________________________________________________________________________________________ TestExampleScripts.test_pstree ________________________________________________________________________________________ psutil\tests\test_scripts.py:115: in test_pstree self.assert_stdout('pstree.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\pstree.py", line 70, in E main() E ~~~~^^ E File "C:\Users\light\venv\psutil\psutil\scripts\pstree.py", line 58, in main E for p in psutil.process_iter(): E ^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'psutil' has no attribute 'process_iter' _________________________________________________________________________________________ TestExampleScripts.test_who __________________________________________________________________________________________ psutil\tests\test_scripts.py:109: in test_who self.assert_stdout('who.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\who.py", line 35, in E main() E ~~~~^^ E File "C:\Users\light\venv\psutil\psutil\scripts\who.py", line 21, in main E users = psutil.users() E ^^^^^^^^^^^^ E AttributeError: module 'psutil' has no attribute 'users' _____________________________________________________________________________________ TestExampleScripts.test_winservices ______________________________________________________________________________________ psutil\tests\test_scripts.py:151: in test_winservices self.assert_stdout('winservices.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "C:\Users\light\venv\psutil\psutil\scripts\winservices.py", line 59, in E sys.exit(main()) E ~~~~^^ E File "C:\Users\light\venv\psutil\psutil\scripts\winservices.py", line 44, in main E for service in psutil.win_service_iter(): E ^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: module 'psutil' has no attribute 'win_service_iter' _____________________________________________________________________________________ TestInternalScripts.test_import_all ______________________________________________________________________________________ psutil\tests\test_scripts.py:205: in test_import_all import_module_by_path(path) psutil\tests\__init__.py:1912: in import_module_by_path spec.loader.exec_module(mod) :1026: in exec_module ??? :488: in _call_with_frames_removed ??? scripts\internal\bench_oneshot_2.py:13: in import pyperf # requires "pip install pyperf" E ModuleNotFoundError: No module named 'pyperf' ______________________________________________________________________________________ TestDiskAPIs.test_disk_partitions _______________________________________________________________________________________ psutil\tests\test_system.py:672: in test_disk_partitions assert os.path.exists(disk.device), disk E AssertionError: sdiskpart(device='E:\\', mountpoint='E:\\', fstype='', opts='removable') E assert False E + where False = ('E:\\') E + where = .exists E + where = os.path E + and 'E:\\' = sdiskpart(device='E:\\', mountpoint='E:\\', fstype='', opts='removable').device ________________________________________________________________________________________ TestSystemAPIs.test_disk_usage ________________________________________________________________________________________ psutil\tests\test_windows.py:235: in test_disk_usage sys_value = win32api.GetDiskFreeSpaceEx(disk.mountpoint) E pywintypes.error: (21, 'GetDiskSpaceFreeEx', 'The device is not ready.') __________________________________________________________________________________________ TestSystemAPIs.test_disks ___________________________________________________________________________________________ psutil\tests\test_windows.py:216: in test_disks usage = psutil.disk_usage(ps_part.mountpoint) psutil\__init__.py:2049: in disk_usage return _psplatform.disk_usage(path) psutil\_pswindows.py:259: in disk_usage total, free = cext.disk_usage(path) E PermissionError: [WinError 21] The device is not ready: 'E:\\' _______________________________________________________________________________________ TestSensorsBattery.test_percent ________________________________________________________________________________________ psutil\tests\test_windows.py:306: in test_percent assert ( E assert 1 < 1 E + where 1 = abs((96 - 95)) E + where 96 = sbattery(percent=96, secsleft=, power_plugged=True).percent E + and 95 = <_wmi_object: b'\\\\KLIGHT-GF63\\root\\cimv2:Win32_Battery.DeviceID="MSIBIF0_9"'>.EstimatedChargeRemaining ______________________________________________________________________________________ TestServices.test_win_service_iter ______________________________________________________________________________________ psutil\tests\test_windows.py:847: in test_win_service_iter data = serv.as_dict() psutil\_pswindows.py:591: in as_dict d = self._query_config() psutil\_pswindows.py:498: in _query_config cext.winservice_query_config(self._name) E OSError: [WinError 15100] The resource loader failed to find MUI file: '(originated from QueryServiceConfigW)' =========================================================================================== short test summary info ============================================================================================ FAILED psutil/tests/test_connections.py::TestSystemWideConnections::test_multi_sockets_procs - FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\light\\AppData\\Local\\Temp\\@psutil-35428-a3m2te99' FAILED psutil/tests/test_process.py::TestProcess::test_open_files - psutil.NoSuchProcess: process no longer exists (pid=41332) FAILED psutil/tests/test_process_all.py::TestFetchAllProcesses::test_all - AssertionError: FAILED psutil/tests/test_process_all.py::TestPidsRange::test_it - Failed: DID NOT RAISE FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_battery - RuntimeError: platform not supported FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_disk_usage - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_free - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_ifconfig - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_meminfo - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_netstat - RuntimeError: Proto Local address Remote address Status PID Program name FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pidof - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pmap - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_procinfo - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_procsmem - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_ps - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pstree - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_who - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_winservices - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestInternalScripts::test_import_all - ModuleNotFoundError: No module named 'pyperf' FAILED psutil/tests/test_system.py::TestDiskAPIs::test_disk_partitions - AssertionError: sdiskpart(device='E:\\', mountpoint='E:\\', fstype='', opts='removable') FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_disk_usage - pywintypes.error: (21, 'GetDiskSpaceFreeEx', 'The device is not ready.') FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_disks - PermissionError: [WinError 21] The device is not ready: 'E:\\' FAILED psutil/tests/test_windows.py::TestSensorsBattery::test_percent - assert 1 < 1 FAILED psutil/tests/test_windows.py::TestServices::test_win_service_iter - OSError: [WinError 15100] The resource loader failed to find MUI file: '(originated from QueryServiceConfigW)' =========================================================================== 24 failed, 311 passed, 249 skipped in 465.04s (0:07:45) ============================================================================