code: def test_numeric(self):
      self.assertEqual(self.db.numeric("A", None), None)
      self.assertEqual(self.db.numeric("9"), 9)
      self.assertEqual(self.db.numeric("\u215b"), 0.125)
      self.assertEqual(self.db.numeric("\u2468"), 9.0)
      self.assertEqual(self.db.numeric("\ua627"), 7.0)
      self.assertEqual(self.db.numeric("\U00020000", None), None)
      self.assertEqual(self.db.numeric("\U0001012A"), 9000)
  
      self.assertRaises(TypeError, self.db.numeric)
      self.assertRaises(TypeError, self.db.numeric, "xx")
      self.assertRaises(ValueError, self.db.numeric, "x")
  
imports: import hashlib
  from http.client import HTTPException
  import sys
  import unicodedata
  import unittest
  from test.support import open_urlresource, requires_resource, script_helper, cpython_only, check_disallow_instantiation
label_desc: Use image node_id 6 for calling the UnicodeFunctionsTest obj's underlying member method code with example usage: obj.test_numeric() without return types