can somebody help me test this using mock, unittest?

  mocking, python, unit-testing

@staticmethod
def display(list_from_file):
for i in range(len(list_from_file)):
print(f"Winner: {list_from_file[i][0]},"
f" against: {list_from_file[i][1]},"
f" Difference: {list_from_file[i][2]}")

Source: Python Questions

LEAVE A COMMENT