Skip to content

Commit

Permalink
Update dataset.py
Browse files Browse the repository at this point in the history
Fix E721
  • Loading branch information
Smartappli authored Dec 1, 2024
1 parent 39c4561 commit c876d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def _is_action_data_empty(obj: Any) -> bool:


def check_mock(data: Any, mock: Any) -> bool:
if type(data) == type(mock):
if type(data) is type(mock):
return True

return _is_action_data_empty(mock) or _is_action_data_empty(data)
Expand Down

0 comments on commit c876d60

Please sign in to comment.