Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix linux testsfix-tests | Giampaolo Rodola | 2019-04-05 | 1 | -2/+2 |
| | |||||
* | remove outdated tests | Giampaolo Rodola | 2019-04-05 | 1 | -4/+0 |
| | |||||
* | [Win] Process IO priority constants + high priority (#1479 / #1476) | Giampaolo Rodola | 2019-04-05 | 1 | -26/+31 |
| | |||||
* | refactor ionice() on Linux | Giampaolo Rodola | 2019-04-04 | 1 | -29/+27 |
| | |||||
* | ionice test refactoring | Giampaolo Rodola | 2019-04-04 | 1 | -48/+50 |
| | |||||
* | Big docfix (#1464) | Giampaolo Rodola | 2019-03-14 | 1 | -2/+2 |
| | | | | | | | * use https wherever possible * always point to python 3 doc * point to new MSDN urls * use RST references and avoid repetitions of URLs | ||||
* | test runner refactoring (avoid code duplication) | Giampaolo Rodola | 2019-03-13 | 1 | -2/+2 |
| | |||||
* | Coloured tests (#1459) | Giampaolo Rodola | 2019-03-13 | 1 | -1/+1 |
| | | | Fixes #1458. | ||||
* | #1291: (BACKWARD-INCOMPATIBLE) remove memory_maps() on OSX | Giampaolo Rodola | 2019-02-28 | 1 | -2/+0 |
| | |||||
* | #1291 / OSX: mark memory_maps() as deprecated and make it alwats raise ↵ | Giampaolo Rodola | 2019-02-27 | 1 | -1/+3 |
| | | | | AccessDenied | ||||
* | add win tests related to send_signal(CTRL_C_EVENT) #1227 | Giampaolo Rodola | 2019-02-26 | 1 | -4/+8 |
| | |||||
* | fix win test | Giampaolo Rodola | 2019-02-26 | 1 | -3/+0 |
| | |||||
* | fix win tests | Giampaolo Rodola | 2019-02-26 | 1 | -4/+7 |
| | |||||
* | #fix 1438: do not return any parent() for PID 0 + update doc | Giampaolo Rodola | 2019-02-26 | 1 | -0/+21 |
| | |||||
* | Add Process.parents() method (#1433) | Giampaolo Rodola | 2019-02-25 | 1 | -0/+11 |
| | |||||
* | #1373: different approach to oneshot() cache (pass Process instances around ↵ | Giampaolo Rodola | 2018-12-13 | 1 | -0/+15 |
| | | | | - which is faster) | ||||
* | fix travis | Giampaolo Rodola | 2018-10-12 | 1 | -2/+3 |
| | |||||
* | fix different travis failures | Giampaolo Rodola | 2018-10-12 | 1 | -0/+3 |
| | |||||
* | Fix decoding error in tests | Giampaolo Rodola | 2018-09-28 | 1 | -1/+2 |
| | | | | https://travis-ci.org/giampaolo/psutil/jobs/434570177 | ||||
* | remove failing test assertions | Giampaolo Rodola | 2018-08-15 | 1 | -8/+2 |
| | |||||
* | remove failing test | Giampaolo Rodola | 2018-08-15 | 1 | -3/+0 |
| | |||||
* | Rename OSX to macOS (#1298) | Giampaolo Rodola | 2018-06-26 | 1 | -12/+12 |
| | | | rename OSX to macOS | ||||
* | try to fix occasional children() failure on Win: ↵ | Giampaolo Rodola | 2018-06-27 | 1 | -0/+1 |
| | | | | https://ci.appveyor.com/project/giampaolo/psutil/build/job/je3qyldbb86ff66h | ||||
* | remove incorrect test assumption that proc cpu percent on windows is ↵ | Giampaolo Rodola | 2018-04-12 | 1 | -4/+0 |
| | | | | supposed to be <= 100, see https://ci.appveyor.com/project/giampaolo/psutil/build/1477/job/w1e0u92xrgg91ye3 | ||||
* | fix appveyor failure, see ↵ | Giampaolo Rodola | 2018-03-28 | 1 | -2/+2 |
| | | | | https://ci.appveyor.com/project/giampaolo/psutil/build/job/6in5bk62ekiploys | ||||
* | Revert "Move tests out of package to top level directory (#1232)" (#1242) | Giampaolo Rodola | 2018-03-11 | 1 | -0/+1567 |
| | | | This reverts commit b578d2febfd35f80fcfa1ce1bdf18d44d21b1581. | ||||
* | Move tests out of package to top level directory (#1232) | Jon Dufresne | 2018-03-09 | 1 | -1567/+0 |
| | | | | | | | | Cleanly separates tests from the package itself. Prevents the tests being installed to site-packages. Tests are still distributed with the source distribution by MANIFEST.in. Avoids installing tests in production environments, leading to less total code in the environment. | ||||
* | test environ: clean returned dict | Giampaolo Rodola | 2018-03-08 | 1 | -1/+3 |
| | |||||
* | add test for cpu_affinity | Giampaolo Rodola | 2017-12-09 | 1 | -2/+19 |
| | |||||
* | fix test | Giampaolo Rodola | 2017-12-05 | 1 | -3/+3 |
| | |||||
* | refactor environ() test | Giampaolo Rodola | 2017-12-04 | 1 | -21/+15 |
| | |||||
* | Fix OSX pid 0 bug (#1187) | Giampaolo Rodola | 2017-12-04 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | * debug * change travis conf * more debug info * work around pid 0 on osx * fix pid 0 bug * skip failing test on OSX + TRAVIS which started failing all of the sudden * skip failing test on osx + travis | ||||
* | AIX: implement num_ctx_switches (#1164) | wiggin15 | 2017-10-31 | 1 | -2/+0 |
| | | | | | | * small changes * AIX: implement num_ctx_switches | ||||
* | improve logic to determine python exe location | Giampaolo Rodola | 2017-10-30 | 1 | -16/+17 |
| | |||||
* | try to limit occasional appveyor failure | Giampaolo Rodola | 2017-10-29 | 1 | -1/+11 |
| | |||||
* | Fix #1154: remove 'threads' method on older AIX (#1156) | wiggin15 | 2017-10-28 | 1 | -0/+3 |
| | |||||
* | Terminate Windows processes with SIGTERM code rather than 0 (#1150) | Akos Kiss | 2017-10-20 | 1 | -5/+5 |
| | | | | | | | | If the TerminateProcess WinAPI function is called with 0, then the exit code of the terminated process (e.g., observed by its parent) will be 0. However, this is usually associated with successful execution. Any other exit code could be used to signal forced termination, but perhaps the value of SIGTERM is the most meaningful. | ||||
* | fix or skip remaining AIX unit tests (#1145) | wiggin15 | 2017-10-19 | 1 | -1/+3 |
| | | | | | | * create_exe should use default code if c_code is True * fix or skip remaining AIX unit tests | ||||
* | work around travis failure | Giampaolo Rodola | 2017-10-06 | 1 | -18/+3 |
| | |||||
* | investigat travis failure | Giampaolo Rodola | 2017-10-06 | 1 | -1/+2 |
| | |||||
* | investigat travis failure | Giampaolo Rodola | 2017-10-06 | 1 | -1/+4 |
| | |||||
* | investigate travis failure | Giampaolo Rodola | 2017-10-06 | 1 | -0/+3 |
| | |||||
* | AIX support (#1123) | wiggin15 | 2017-09-26 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | * AIX support * AIX support * AIX support * AIX support - use get_procfs_path() instead of /proc * AIX support - group sections like in other modules * AIX support * AIX support * AIX support * AIX support - remove unnecessary dict copy | ||||
* | try to fix travis failure | Giampaolo Rodola | 2017-09-26 | 1 | -2/+17 |
| | |||||
* | #1126: temporarily disable failing test | Giampaolo Rodola | 2017-09-10 | 1 | -0/+2 |
| | |||||
* | 1044 osx zombies (#1100) | Giampaolo Rodola | 2017-06-07 | 1 | -90/+53 |
| | | | | | | | | | | | | | | | | | | | | | | * small refactoring * #1044: define a separate ctx manager which handles zombie processes * add create_zombie_proc utility function * disable test on windows * #1044: cmdline() was incorrectly raising AD instead of ZombieProcess * #1044: environ() was incorrectly raising AD instead of ZombieProcess * #1044: memory_maps() was incorrectly raising AD instead of ZombieProcess * #1044: threads() was incorrectly raising AD instead of ZombieProcess * enhance test * fix threads() | ||||
* | Fix #1055, fix #1085, fix #1087. | Giampaolo Rodola | 2017-05-19 | 1 | -0/+6 |
| | | | | | | | - no longer cache cpu_count() return value in Process.cpu_percent() - in Process.cpu_percent(), guard against cpu_count() returning None and assume 1 instead - add test cases | ||||
* | PSUTIL_TESTING env var (#1083) | Giampaolo Rodola | 2017-05-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | | * Introduce PSUTIL_TESTING env var ...so that we can make stricter assertions in C and py code during tests only. * define a C function in _common.c which returns whether the var is set * set PSUTIL_TESTING from the Makefile * cache psutil_testing() result * winmake: set PSUTIL_TESTING env var for tests | ||||
* | skip signal.CTRL_ test on py 2.6 | Giampaolo Rodola | 2017-05-17 | 1 | -1/+1 |
| | |||||
* | add Popen test for making sure NSP is raised on kill() and terminate() | Giampaolo Rodola | 2017-05-17 | 1 | -9/+24 |
| |