-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate @unittest_run_loop (#5515)
* Update unittest docs * Deprecate decorator code * Create 5515.misc * Update test_utils.py * Whitespace * Redundant import * Update testing.rst * Use correct unittest methods. * Update testing.rst * Update test_loop.py * Adjust stacklevel * Update test_utils.py * Test deprecation warning. * Update test_test_utils.py * Mark `@unittest_run_loop` as code in changelog * Update tests/test_test_utils.py Co-authored-by: Sviatoslav Sydorenko <[email protected]> * Make `@unittest_run_loop` deprecation message more specific * Document that the `@unittest_run_loop` decorator is no-op * Format the lines to be shorter Co-authored-by: Sam Bull <[email protected]> Co-authored-by: Sviatoslav Sydorenko <[email protected]>
- Loading branch information
1 parent
01fdc25
commit 3e588ed
Showing
5 changed files
with
33 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Deprecate ``@unittest_run_loop``. This behaviour is now the default. |
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
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