code: def test_not_sframe_create_error(self):
      dataset = {
          "rating": [1, 5],
          "text": ["this is bad", "this is good"],
      }
      try:
          # dataset is NOT an SFrame
          tc.text_classifier.create(
              dataset, "rating", features=["text"]
          )
      except ToolkitError as t:
          exception_msg = t.args[0]
          self.assertTrue(
              exception_msg.startswith(
                  "Input dataset is not an SFrame. "
              )
          )
      else:
          self.fail("This should have thrown an exception")
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import tempfile
  import turicreate
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._internal_utils import _mac_ver
  from .None import util
  import sys
label_desc: Use image node_id 9 for calling the TextClassifierCreateTests obj's underlying member method code with example usage: obj.test_not_sframe_create_error() without return types