summaryrefslogtreecommitdiff
path: root/numpy/core/_exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/_exceptions.py')
-rw-r--r--numpy/core/_exceptions.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/_exceptions.py b/numpy/core/_exceptions.py
index 88a45561f..99172e23d 100644
--- a/numpy/core/_exceptions.py
+++ b/numpy/core/_exceptions.py
@@ -157,7 +157,6 @@ class _ArrayMemoryError(MemoryError):
@staticmethod
def _size_to_string(num_bytes):
""" Convert a number of bytes into a binary size string """
- import math
# https://en.wikipedia.org/wiki/Binary_prefix
LOG2_STEP = 10