Skip to content

Commit

Permalink
Temporarily hide warning
Browse files Browse the repository at this point in the history
  • Loading branch information
VesnaT committed Feb 12, 2020
1 parent 697695a commit e019f32
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Orange/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ def __call__(self, data, callback=None):
data = self.preprocess(data, callback=cb)
except TypeError:
data = self.preprocess(data)
warnings.warn("A keyword argument 'callback' has been added to the"
" preprocess() signature. Implementing the method "
"without the argument is deprecated and will result "
"in an error in the future.",
OrangeDeprecationWarning)
# warnings.warn("A keyword argument 'callback' has been added to the"
# " preprocess() signature. Implementing the method "
# "without the argument is deprecated and will result "
# "in an error in the future.",
# OrangeDeprecationWarning)

if len(data.domain.class_vars) > 1 and not self.supports_multiclass:
raise TypeError("%s doesn't support multiple class variables" %
Expand Down

0 comments on commit e019f32

Please sign in to comment.