SIGN IN SIGN UP

[3.12] Make test_fcntl quiet (GH-108758) (#108760)

Make test_fcntl quiet (GH-108758)

Running test_fcntl logs two "struct.pack: ..." lines because
multiprocessing imports test_fcntl twice with
test.support.verbose=1. Move get_lockdata() inside TestFcntl test
case and only call it where it's needed, to stop logging these lines.
(cherry picked from commit 23f54c120067c96973619b9501fe4dff1b055188)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
4dc07d2bde2e219f3b6995891b8cda3e8094804a
Parent: 712994e
Committed by GitHub <noreply@github.com> on 9/1/2023, 1:36:52 PM