Skip to content

Commit 6f1816b

Browse files
author
James Reed
committed
inherit from object
1 parent c6f1bff commit 6f1816b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_jit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3676,7 +3676,7 @@ def foobar(xyz):
36763676
scripted = torch.jit.script(foobar)
36773677

36783678
def test_file_line_error_class_defn(self):
3679-
class FooBar:
3679+
class FooBar(object):
36803680
def baz(x):
36813681
return torch.blargh(xyz)
36823682

0 commit comments

Comments
 (0)