class_docstr: Module level tests for all sktime distributions.
docstr: Test expected return of scalar methods.
docstr_tok: ["Test","expected","return","of","scalar","methods","."]
code: def test_methods_scalar(self, estimator_instance, method, shuffled):
      """Test expected return of scalar methods."""
      if not _has_capability(estimator_instance, method):
          return None
  
      d = estimator_instance
      if shuffled:
          d = _shuffle_distr(d)
  
      res = getattr(d, method)()
  
      _check_output_format(res, d, method)
  
imports: import numpy
  import pandas
  import pytest
  from sktime.datatypes import check_is_mtype
  from sktime.tests.test_all_estimators import BaseFixtureGenerator, QuickTester
  from sktime.utils.index import random_ss_ix
label_desc: Use image node_id 2 for calling the TestAllDistributions obj's underlying member method code with example usage: obj.test_methods_scalar(estimator_instance, method, shuffled) and returns: None