code: def test_optimisations(self):
      text = "abcde"  # 5 characters
  
      self.assertIs("%s" % text, text)
      self.assertIs("%.5s" % text, text)
      self.assertIs("%.10s" % text, text)
      self.assertIs("%1s" % text, text)
      self.assertIs("%5s" % text, text)
  
      self.assertIs("{0}".format(text), text)
      self.assertIs("{0:s}".format(text), text)
      self.assertIs("{0:.5s}".format(text), text)
      self.assertIs("{0:.10s}".format(text), text)
      self.assertIs("{0:1s}".format(text), text)
      self.assertIs("{0:5s}".format(text), text)
  
      self.assertIs(text % (), text)
      self.assertIs(text.format(), text)
  
imports: from test.support import verbose, TestFailed
  import locale
  import sys
  import re
  import test.support
  import unittest
label_desc: Use image node_id 7 for calling the FormatTest obj's underlying member method code with example usage: obj.test_optimisations() without return types