Skip to content
Snippets Groups Projects
Commit b914deb8 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

PEP8 correct F401 and F841

parent ff1bccba
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,6 @@ import networkx as nx
import multiprocessing
from multiprocessing import Queue, JoinableQueue, Process
import inspect
try:
from pandas.core.common import is_numeric_dtype
except ImportError:
from pandas.api.types import is_numeric_dtype
from navipy.database import DataBaseLoad
import navipy.moving.maths as navimomath
......
......@@ -350,7 +350,7 @@ class TestCase(unittest.TestCase):
scene3 = np.array(scene3)
scene4 = np.zeros((3, 4, 5, 0))
for s in [scene2, scene3, scene4]:
with self.assertRaises(Exception) as cm:
with self.assertRaises(Exception):
contrast = pcode.michelson_contrast(s,)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment