'This issue is caused by an unresolved bug in numpy since version 1.6.
See numpy GH issue #3147.'

def test_issue_1850(self):

    constarr = np.array([86])
    def pyfunc():
        return constarr[0]
    cres = compile_isolated(pyfunc, ())
    out = cres.entry_point()
    self.assertEqual(out, 86)
