@@ -0,0 +1,480 @@
+from sympy import Piecewise%0Afrom sympy.abc import x%0Afrom sympy.printing.lambdarepr import NumPyPrinter%0A%0Adef test_numpy_piecewise_regression():%0A    %22%22%22%0A    NumPyPrinter needs to print Piecewise()'s choicelist as a list to avoid%0A    breaking compatibility with numpy 1.8. This is not necessary in numpy 1.9+.%0A    See gh-9747 and gh-9749 for details.%0A    %22%22%22%0A    p = Piecewise((1, x %3C 0), (0, True))%0A    assert NumPyPrinter().doprint(p) == 'select(%5Bx %3C 0,True%5D, %5B1,0%5D, default=nan)'%0A

Add test for NumPyPrinter regression