diff --git a/test/code_circuits/test_rep_codes.py b/test/code_circuits/test_rep_codes.py index 38ff41f1..a2e7e839 100644 --- a/test/code_circuits/test_rep_codes.py +++ b/test/code_circuits/test_rep_codes.py @@ -254,7 +254,10 @@ def single_error_test( neutral, flipped_logicals, _ = code.check_nodes(nodes) self.assertTrue( neutral and flipped_logicals == [], - "Error: Single error nodes are not neutral: " + string, + "Error: Single error nodes are not neutral for string " + + string + + " which yeilds " + + str(code.check_nodes(nodes)), ) # and that the given flipped logical makes sense for node in nodes: @@ -568,6 +571,9 @@ def clustering_decoder_test( + str(c) + " with " + min_error_string + + "." + + " Corresponding clusters are " + + str(decoder.cluster(code.string2nodes(string, all_logicals=True))) + ".", )