def test_numpy_piecewise_regression():
    p = Piecewise((1, x < 0), (0, True))
    assert NumPyPrinter().doprint(p) == 'select([less(x, 0),True], [1,0], default=nan)'
Mimic the MultiWidget '_get_media' method, adding other media
dataset/ETHPy150Open sympy/sympy/sympy/printing/tests/test_numpy.py/test_numpy_piecewise_regression--crossover with--dataset/ETHPy150Open MongoEngine/django-mongoengine/django_mongoengine/forms/widgets.py/Dictionary._get_media