Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I just have installed NumPy. It temporary sets these two environment variables 
for importing the multiarray numpy extension module, but forgot to remove them 
if the import is failed.

test_buffer imports numpy.

try:
    with warnings.catch_warnings():
        from numpy import ndarray as numpy_array
except ImportError:
    numpy_array = None

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31792>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to