code: def test_byte_compile(self):
      pkg_dir = self._setup_byte_compile()
      if sys.flags.optimize < 1:
          self.assertTrue(
              os.path.exists(os.path.join(pkg_dir, "foo.pyc"))
          )
      else:
          self.assertTrue(
              os.path.exists(os.path.join(pkg_dir, "foo.pyo"))
          )
  
file_path: catboost/contrib/tools/python/src/Lib/distutils/tests/test_install_lib.py
imports: import os
  import sys
  import unittest
  from distutils.command.install_lib import install_lib
  from distutils.extension import Extension
  from distutils.tests import support
  from distutils.errors import DistutilsOptionError
  from test.test_support import run_unittest
label_desc: Use image node_id 3 for calling the InstallLibTestCase obj's underlying member method code with example usage: obj.test_byte_compile() without return types