def do_strip_empty(value):
    return {
        dict: strip_empty,
        list: strip_list,
        tuple: strip_list
    }.get(type(value), lambda x: x)(value)
Tests _UpdateProductDataFromCatalog().
dataset/ETHPy150Open CenterForOpenScience/scrapi/scrapi/linter/document.py/do_strip_empty--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/mac/cron/applesus_test.py/AppleSUSCatalogSyncTest.testUpdateProductDataFromCatalog