Skip to content

Commit

Permalink
MAINT: Fix CIs (#10933)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Jul 18, 2022
1 parent b733f72 commit 6955f97
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mne/fixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import inspect
from math import log
from pprint import pprint
import os
import warnings

Expand Down Expand Up @@ -459,10 +460,8 @@ def set_params(self, **params):
return self

def __repr__(self):
from sklearn.base import _pprint
class_name = self.__class__.__name__
return '%s(%s)' % (class_name, _pprint(self.get_params(deep=False),
offset=len(class_name),),)
return '%s(%s)' % (class_name, pprint(self.get_params(deep=False)))

# __getstate__ and __setstate__ are omitted because they only contain
# conditionals that are not satisfied by our objects (e.g.,
Expand Down

0 comments on commit 6955f97

Please sign in to comment.