-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pytest configuration to include the
--forced-gc
option
The code changes in this commit update the pytest configuration to include a new command-line option `--forced-gc`. This option enables forced garbage collection after each test. The `ensure_gc` fixture has been modified to check if the `--forced-gc` option is enabled before triggering garbage collection. This change ensures that all destructors are called and improves test stability, especially when using Libtorrent.
- Loading branch information
Showing
3 changed files
with
8 additions
and
27 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
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