Skip to content

Commit 8a4902d

Browse files
committed
Address linitng issues
Signed-off-by: Christoph Berganski <[email protected]>
1 parent 32ddce6 commit 8a4902d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/onnx_ir/_core_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,5 +2506,6 @@ def test_nbytes_single(self):
25062506
tensor = _core.StringTensor(data)
25072507
self.assertEqual(tensor.nbytes, 3)
25082508

2509+
25092510
if __name__ == "__main__":
25102511
unittest.main()

src/onnx_ir/passes/common/initializer_deduplication_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ def test_string_initializers_with_different_shapes_not_deduplicated(self):
8585
new_model = self.apply_pass(model)
8686
self.assertEqual(len(new_model.graph.initializers), 2)
8787

88-
8988
def test_string_initializers_with_same_bytes_but_different_grouping_not_deduplicated(self):
9089
model = ir.from_onnx_text(
9190
"""
@@ -98,7 +97,6 @@ def test_string_initializers_with_same_bytes_but_different_grouping_not_deduplic
9897
new_model = self.apply_pass(model)
9998
self.assertEqual(len(new_model.graph.initializers), 2)
10099

101-
102100
def test_initializers_with_different_dtypes_not_deduplicated(self):
103101
model = ir.from_onnx_text(
104102
"""

0 commit comments

Comments
 (0)