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