class_docstr: Test the :class:`pykeen.datasets.PathDataset` with inverse triples.
class_docstr_tok: ["Test","the",":","class",":","`","pykeen.datasets.PathDataset","`","with","inverse","triples","."]
docstr: Verify that inverse triples are only created in the training factory.
code: def test_create_inverse_triples(self):
      """Verify that inverse triples are only created in the training factory."""
      dataset = Nations(create_inverse_triples=True)
      assert dataset.training.create_inverse_triples
      assert not dataset.testing.create_inverse_triples
      assert not dataset.validation.create_inverse_triples
  
imports: import pathlib
  import unittest
  from io import BytesIO
  from urllib.request import urlopen
  from pykeen.datasets import Kinships, Nations, dataset_resolver
  from pykeen.datasets.base import PackedZipRemoteDataset, SingleTabbedDataset, TarFileRemoteDataset, TarFileSingleDataset, UnpackedRemoteDataset
  from pykeen.datasets.nations import NATIONS_TEST_PATH, NATIONS_TRAIN_PATH, NATIONS_VALIDATE_PATH
  from tests import cases, constants
label_desc: Use image node_id 1 for calling the TestPathDatasetTriples obj's underlying member method code with example usage: obj.test_create_inverse_triples() without return types