docstr: Test that annotations works as expected 
docstr_tok: ["Test","that","annotations","works","as","expected"]
code: def test_annotations(self):
      """Test that annotations works as expected"""
      self.client.request("GET", "/")
      response = self.client.getresponse()
      docstring = (
          b""
          if sys.flags.optimize >= 2
          else b"<dd><tt>Use&nbsp;function&nbsp;annotations.</tt></dd>"
      )
      self.assertIn(
          (
              b'<dl><dt><a name="-annotation"><strong>annotation</strong></a>'
              b"(x: int)</dt>" + docstring + b"</dl>\n"
              b'<dl><dt><a name="-method_annotation"><strong>'
              b"method_annotation</strong></a>(x: bytes)</dt></dl>"
          ),
          response.read(),
      )
  
imports: from xmlrpc.server import DocXMLRPCServer
  import http.client
  import re
  import sys
  import threading
  import unittest
  from test import support
label_desc: Use image node_id 10 for calling the DocXMLRPCHTTPGETServer obj's underlying member method code with example usage: obj.test_annotations() without return types