3
���hH � @ s� d Z ddlZddlZddlZddlZddlZddlmZ dai Z ej
jejj
ej� d�� ejjdddd� yejjd� W n$ ejjk
r� ejjd� Y nX d d
� Zdd� Zd
d� Zej� dd� �Zejddd�dd� �Zejdd�dd� �ZdS )z=
Pytest configuration and fixtures for the Numpy test suite.
� N)�get_fpu_modez.hypothesisz
numpy-profileT)�name�deadlineZ
print_blobznp.test() profilec C s4 | j dd� | j dd� | j dd� | j dd� d S )N�markersz=valgrind_error: Tests that are known to error under valgrind.z:leaks_references: Tests that are known to leak references.zslow: Tests that are very slow.z,slow_pypy: Tests that are very slow on pypy.)Zaddinivalue_line)�config� r �//tmp/pip-build-5_djhm0z/numpy/numpy/conftest.py�pytest_configure$ s r c C s | j ddd dd� d S )Nz--available-memory�storez�Set amount of memory available for running the test suite. This can result to tests requiring especially large amounts of memory to be skipped. Equivalent to setting environment variable NPY_AVAILABLE_MEM. Default: determinedautomatically.)�action�default�help)Z addoption)�parserr r r �pytest_addoption/ s
r c C s" |