Fix linters for mocking
Right now linters test fail due to a trivial issue in mock loader. This aims to fix CI for the repo. Change-Id: Ib58e70d3a54b75ca4cb9ad86b761db1ded157143
This commit is contained in:
parent
2808d1c155
commit
407369da6e
@ -28,7 +28,7 @@ class DictDataLoader(DataLoader):
|
||||
|
||||
def __init__(self, file_mapping=None):
|
||||
file_mapping = {} if file_mapping is None else file_mapping
|
||||
assert type(file_mapping) == dict
|
||||
assert isinstance(file_mapping, dict)
|
||||
|
||||
super(DictDataLoader, self).__init__()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user