From d02491931ac4eee6d93d8853881c321619c460c3 Mon Sep 17 00:00:00 2001 From: Kale Kundert Date: Tue, 31 Jul 2018 11:33:46 -0700 Subject: [PATCH] Fix the unused import. --- src/_pytest/python_api.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index 26e5aa512..84cac3862 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -104,8 +104,6 @@ class ApproxNumpy(ApproxBase): """ def __repr__(self): - import numpy as np - def recursive_map(f, x): if isinstance(x, list): return list(recursive_map(f, xi) for xi in x)