Skip to content

Commit 75829cd

Browse files
author
Jannis Schröder
committed
formating again
1 parent 8bd110e commit 75829cd

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tests/pipeline/SSA/test_out_of_ssa_renaming.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -798,11 +798,12 @@ def test_minimal_renaming_relation(graph_with_relation, variable):
798798
var_1c[4]: variable[1],
799799
}
800800

801-
#TODO fix this test
801+
802+
# TODO fix this test
802803
"""
803804
def test_conditional_renaming_relation(graph_with_relation, variable):
804805
"""
805-
#Test for relations with simple renaming
806+
# Test for relations with simple renaming
806807
"""
807808
task, interference_graph = graph_with_relation
808809
conditional_variable_renamer = ConditionalVariableRenamer(task, interference_graph)
@@ -826,11 +827,11 @@ def test_conditional_renaming_relation(graph_with_relation, variable):
826827
}
827828
"""
828829

829-
#TODO fix this test
830+
# TODO fix this test
830831
"""
831832
def test_conditional_renaming():
832833
"""
833-
#Test that conditional renaming only combines related variables
834+
# Test that conditional renaming only combines related variables
834835
"""
835836
orig_variables = [Variable(letter, Integer.int32_t()) for letter in string.ascii_lowercase]
836837
new_variables = [Variable(f"var_{index}", Integer.int32_t()) for index in range(10)]
@@ -864,11 +865,11 @@ def test_conditional_renaming():
864865
}
865866
"""
866867

867-
#TODO fix this Test
868+
# TODO fix this Test
868869
"""def test_conditional_parallel_edges():
869870
"""
870-
#Test that conditional renaming prioritizes paralles edges of single edges, whose sum of
871-
#weights is bigger than the weight of the single edge
871+
# Test that conditional renaming prioritizes paralles edges of single edges, whose sum of
872+
# weights is bigger than the weight of the single edge
872873
"""
873874
874875
def _v(name: str) -> Variable:
@@ -914,4 +915,4 @@ def _op(exp: Expression) -> BinaryOperation:
914915
assert frozenset(frozenset(c) for c in renamer._variable_classes_handler.variable_class.values()) == frozenset(
915916
{frozenset({GlobalVariable("g0", Float.float(), _c(0))}), frozenset({_v("c")}), frozenset({_v("a0"), _v("a1"), _v("b")})}
916917
)
917-
"""
918+
"""

0 commit comments

Comments
 (0)