def METHOD_NAME(cls):
    if test.test_support.is_jython:
        # GC is not immediate, so Popen.__del__ may be delayed.
        # Try to force any Popen.__del__ errors within scope of test.
        from test_weakref import extra_collect
        extra_collect()