-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_wrapper_fail_obj_large()
test disabled.
This commit effectively disables the fragile hardware- and computational load-sensitive `test_wrapper_fail_obj_large()` unit test, resolving test issue #362 kindly submitted by fearless moé Debian packager @WeepingClown13 (Ananthu C.V.). Specifically, this commit: * Introduces a new kind of `pytest` skip condition named `skip_unless_godmode()`, documented as: ```rst Skip the decorated test or fixture unless the **current user** (i.e., as identified by the POSIX-compatible ``${USER}`` shell variable) has **God-mode privileges** (i.e., is the principal maintainer of this package). An *extremely* small subset of tests and fixtures are sufficiently fragile as to warrant their isolation to God-mode-endowed users, typically due to making unsafe assumptions (e.g., hardware- and computational load-sensitive timing thresholds) that render those tests and fixtures unsuitable for a general audience. *There by God-mode dragons here.* ``` * Applies this skip condition to the `test_wrapper_fail_obj_large()` test. This test now only runs for users with God-mode privileges. But... there is only one such user. His username is @leycec! *Geh heh.* (*Mirthless dearth of unearthed dung!*)
- Loading branch information
Showing
2 changed files
with
104 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters