Question: 
Write a function to remove similar rows from the given tuple matrix.


Model's Code:
def remove_similar_row(matrix):
    unique_rows = {tuple(row) for row in matrix}
    return unique_rows



Sample Correct Code:
def remove_similar_row(test_list):
  res = set(sorted([tuple(sorted(set(sub))) for sub in test_list]))
  return (res) 


Asserts:
assert remove_similar_row([[(4, 5), (3, 2)], [(2, 2), (4, 6)], [(3, 2), (4, 5)]] ) == {((2, 2), (4, 6)), ((3, 2), (4, 5))}
assert remove_similar_row([[(5, 6), (4, 3)], [(3, 3), (5, 7)], [(4, 3), (5, 6)]] ) == {((4, 3), (5, 6)), ((3, 3), (5, 7))}
assert remove_similar_row([[(6, 7), (5, 4)], [(4, 4), (6, 8)], [(5, 4), (6, 7)]] ) =={((4, 4), (6, 8)), ((5, 4), (6, 7))}


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 642 of 974: 478/642 (74.45482866043614%): failed