code: def test_deployment_target_higher_ok(self):
      # Issue 9516: Test that an extension module can be compiled with a
      # deployment target higher than that of the interpreter: the ext
      # module may depend on some newer OS feature.
      deptarget = sysconfig.get_config_var("MACOSX_DEPLOYMENT_TARGET")
      if deptarget:
          # increment the minor version number (i.e. 10.6 -> 10.7)
          deptarget = [int(x) for x in deptarget.split(".")]
          deptarget[-1] += 1
          deptarget = ".".join(str(i) for i in deptarget)
          self._try_compile_deployment_target("<", deptarget)
  
imports: import sys
  import os
  from StringIO import StringIO
  import textwrap
  from distutils.core import Extension, Distribution
  from distutils.command.build_ext import build_ext
  from distutils import sysconfig
  from distutils.tests import support
  from distutils.errors import DistutilsSetupError, CompileError, DistutilsPlatformError
  import unittest
  from test import test_support
label_desc: Use image node_id 18 for calling the BuildExtTestCase obj's underlying member method code with example usage: obj.test_deployment_target_higher_ok() without return types