lesshaste <drraph at gmail.com> added the comment: I notice that this still fails however. assert(np.random.choice([None], replace=True) is None) ________________________________________ PyPy bug tracker <tracker at bugs.pypy.org> <https://bugs.pypy.org/issue1727> ________________________________________