From ea2979c75f8f771a70617e607b8398809dba8dac Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 2 Apr 2020 23:02:01 -0700 Subject: [PATCH] Remove this merge as numpy shouldn't be a dependency --- twython/compat.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/twython/compat.py b/twython/compat.py index 2ee7d37..7c049b0 100644 --- a/twython/compat.py +++ b/twython/compat.py @@ -9,7 +9,6 @@ Python 3 compatibility. """ import sys -import numpy as np _ver = sys.version_info @@ -30,7 +29,7 @@ if is_py2: str = unicode basestring = basestring - numeric_types = (int, long, float, np.int64, np.float64) + numeric_types = (int, long, float) elif is_py3: @@ -38,4 +37,4 @@ elif is_py3: str = str basestring = (str, bytes) - numeric_types = (int, float, np.int64, np.float64) + numeric_types = (int, float)