Remove fix for that was failing so that JSON functions can be merged.
@@ -151,7 +151,6 @@ import zipfile
from copy import deepcopy as copy
from numbers import Number
from itertools import product
-import io
import numpy as npy
from numpy.linalg import inv as npy_inv
@@ -384,9 +383,6 @@ class Network(object):
# allows user to pass filename or file obj
# open file in 'binary' mode because we are going to try and
# unpickle it first
- if isinstance(file, io.TextIOWrapper):
- self.read_touchstone(file)
- else:
fid = get_fid(file, 'rb')
try:
