code: def test_history_epoch_two_columns_different_order(
      self, history, ref
  ):
      duration_with_losses = history[:, ("duration", "total_loss")]
  
      total_losses_ref = [n["total_loss"] for n in ref]
      durations_ref = [n["duration"] for n in ref]
      expected = list(zip(durations_ref, total_losses_ref))
  
      assert duration_with_losses == expected
  
imports: import pickle
  import time
  import multiprocessing
  from functools import partial
  import numpy
  import pytest
  import torch
  from torch.distributed import TCPStore
  from sklearn.datasets import make_classification
label_desc: Use image node_id 8 for calling the TestHistory obj's underlying member method code with example usage: obj.test_history_epoch_two_columns_different_order(history, ref) without return types