def test_issue_1850(self):
        """
        This issue is caused by an unresolved bug in numpy since version 1.6.
        See numpy GH issue #3147.
        """
        constarr = np.array([86])

        def pyfunc():
            return constarr[0]

        cfunc = njit((),)(pyfunc)
        out = cfunc()
        self.assertEqual(out, 86)

        This issue is caused by an unresolved bug in numpy since version 1.6.
        See numpy GH issue #3147.
        
numba/tests/test_array_constants.py