@@ -0,0 +1,322 @@
+%22%22%22Regression tests for optimize.%0A%0A%22%22%22%0Afrom numpy.testing import *%0Aimport numpy as np%0A%0A%0Aclass TestRegression(TestCase):%0A    def test_newton_x0_is_0(self):%0A        %22%22%22Ticket #1074%22%22%22%0A        import scipy.optimize%0A        tgt = 1%0A        res = scipy.optimize.newton(lambda x: x - 1, 0)%0A        assert_almost_equal(res, tgt)%0A

Add test for ticket #1074.