class_docstr: A test case for quickly defining common tests for samplers.
class_docstr_tok: ["A","test","case","for","quickly","defining","common","tests","for","samplers","."]
docstr: Test generating a negative sample with bloom filtering.
docstr_tok: ["Test","generating","a","negative","sample","with","bloom","filtering","."]
code: def test_sample_bloom_filtered(self):
      """Test generating a negative sample with bloom filtering."""
      instance = self.cls(
          **self.instance_kwargs, filterer=BloomFilterer
      )
      self.check_sample(instance)
  
file_path: pykeen/tests/test_sampling/cases.py
imports: from typing import Any, MutableMapping
  import numpy
  import torch
  import unittest_templates
  from pykeen.datasets import Nations
  from pykeen.sampling import NegativeSampler
  from pykeen.sampling.filtering import BloomFilterer, PythonSetFilterer
  from pykeen.triples import Instances, TriplesFactory
label_desc: Use image node_id 6 for calling the NegativeSamplerGenericTestCase obj's underlying member method code with example usage: obj.test_sample_bloom_filtered() without return types