Issue #12180: Fixed a few remaining errors in test_packaging when no threading.
5 files changed