mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-19 11:27:45 +08:00
Remove unnecessary import of Warning.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""
|
||||
r"""
|
||||
=============================
|
||||
Straight line Hough transform
|
||||
=============================
|
||||
|
||||
+1
-3
@@ -88,9 +88,7 @@ test_verbose = _functools.partial(test, verbose=True)
|
||||
test_verbose.__doc__ = test.__doc__
|
||||
|
||||
|
||||
from exceptions import Warning as _Warning
|
||||
|
||||
class _Log(_Warning):
|
||||
class _Log(Warning):
|
||||
pass
|
||||
|
||||
class _FakeLog(object):
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import warnings
|
||||
import functools
|
||||
import sys
|
||||
from exceptions import Warning
|
||||
|
||||
from . import six
|
||||
|
||||
|
||||
Reference in New Issue
Block a user