Fix #10591. Fix test_os for refleak runs.
Split a common setUp/tearDown into the appropriate parts.
1 file changed