test_fit_int64 creates a Theano array constant from a list of longs (Python 2) or ints (Python 3), and expects it to have dtype int64. However, this uses numpy's asarray, which uses list of longs -> ...