1#!/usr/bin/env python 2# -*- coding: utf-8 -*- 3""" 4Make sure the doctests run across numpy versions when using pytest. 5""" 6import numpy as np 7 8try: 9 np.set_printoptions(legacy='1.13') 10except TypeError: 11 pass 12