code: def test_meta_duration_filter_long(self):
      meta = [
          AudioMeta(path="a", duration=5, sample_rate=1, weight=2),
          AudioMeta(path="b", duration=10, sample_rate=1, weight=None),
          AudioMeta(path="c", duration=5, sample_rate=1, weight=0),
      ]
      dataset = AudioDataset(
          meta,
          segment_duration=None,
          min_segment_ratio=1,
          max_audio_duration=7,
      )
      assert len(dataset) == 2
  
imports: from functools import partial
  from itertools import product
  import json
  import math
  import os
  import random
  import typing
  import pytest
  import torch
  from torch.utils.data import DataLoader
  from audiocraft.data.audio_dataset import AudioDataset, AudioMeta, _get_audio_meta, load_audio_meta, save_audio_meta
  from audiocraft.data.zip import PathInZip
  from ..common_utils import TempDirMixin, get_white_noise, save_wav
label_desc: Use image node_id 13 for calling the TestAudioDataset obj's underlying member method code with example usage: obj.test_meta_duration_filter_long() without return types