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.
docstr_tok: ["Test","generating","a","negative","sample","."]
code: def test_sample_no_filter(self) -> None:
      """Test generating a negative sample."""
      self.check_sample(self.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 4 for calling the NegativeSamplerGenericTestCase obj's underlying member method code with example usage: obj.test_sample_no_filter() without return types