File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1414from torch ._inductor .test_case import TestCase as InductorTestCase
1515from torch ._inductor .utils import run_and_get_triton_code
1616from torch .testing ._internal .common_utils import (
17- IS_MACOS ,
1817 instantiate_parametrized_tests ,
18+ IS_MACOS ,
1919 parametrize ,
2020)
2121from torch .testing ._internal .inductor_utils import GPU_TYPE , HAS_CPU , HAS_GPU
@@ -324,7 +324,9 @@ def test_print_mod(self):
324324 x = sympy .Symbol ("x" , integer = True )
325325 expr = Mod (x - 1 , 2 )
326326 self .assertExpectedInline (pexpr (expr ), """((-1) + x) % 2""" )
327- self .assertExpectedInline (cexpr (expr ), f"""((-1{ LONG_SUFFIX } ) + x) % 2{ LONG_SUFFIX } """ )
327+ self .assertExpectedInline (
328+ cexpr (expr ), f"""((-1{ LONG_SUFFIX } ) + x) % 2{ LONG_SUFFIX } """
329+ )
328330 self .assertExpectedInline (texpr (expr ), """((-1) + x) % 2""" )
329331
330332 expr = (x - 10 ) % x
You can’t perform that action at this time.
0 commit comments