Skip to content

Commit

Permalink
Manually fix YAPF due to differences at CI/CD versus local YAPF
Browse files Browse the repository at this point in the history
  • Loading branch information
changm committed Feb 1, 2024
1 parent 8d413c8 commit b1f8693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pytorch_test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,8 @@ def skipped_test(self, *args, reason=reason, **kwargs):
setattr(cls, dtype_test_name, disallowed_test)
if not skipped:
xla_dtypes.append(
dtype_combination if len(dtype_combination) >
1 else dtype_combination[0])
dtype_combination
if len(dtype_combination) > 1 else dtype_combination[0])
if len(xla_dtypes) != 0:
test.dtypes[cls.device_type] = xla_dtypes
super().instantiate_test(name, test, generic_cls=generic_cls)
Expand Down

0 comments on commit b1f8693

Please sign in to comment.