Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
justinchuby committed Oct 23, 2024
1 parent c10f5f5 commit e6c36dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxscript/ir/_schemas_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class TypeConversionFunctionsTest(unittest.TestCase):
]
)
def test_pytype_to_ir_type(self, _, pytype: Any, expected: set[ir.TypeProtocol]):
self.assertEqual(_schemas._get_allowed_types_from_type_annotation(pytype), expected)
self.assertEqual(_schemas._get_allowed_types_from_type_annotation(pytype), expected) # pylint: disable=protected-access

@parameterized.parameterized.expand(
[
Expand All @@ -169,7 +169,7 @@ def test_pytype_to_ir_type(self, _, pytype: Any, expected: set[ir.TypeProtocol])
]
)
def test_get_type_constraint_name(self, _: str, pytype: Any, expected: str | None):
self.assertEqual(_schemas._get_type_constraint_name(pytype), expected)
self.assertEqual(_schemas._get_type_constraint_name(pytype), expected) # pylint: disable=protected-access


if __name__ == "__main__":
Expand Down

0 comments on commit e6c36dd

Please sign in to comment.