Skip to content

Commit

Permalink
Fix code syntax in UT (#470)
Browse files Browse the repository at this point in the history
Co-authored-by: 王盟 <unicorn@MacBook-Pro.local>
  • Loading branch information
wm901115nwpu and 王盟 committed Apr 10, 2023
1 parent 8430cf0 commit 192f844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_models/test_task_modules/test_custom_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class ToyModel(torch.nn.Module):

def __init__(self):
super.__init__()
super().__init__()

def get_loss(self, x):
return x * 0.1
Expand Down

0 comments on commit 192f844

Please sign in to comment.