code: def test_do_not_overwrite_nonregular_files(self):
      # In the face of a cfile argument being a non-regular file, bail out.
      # Issue #17222
      with self.assertRaises(FileExistsError):
          py_compile.compile(self.source_path, os.devnull)
  
imports: import functools
  import importlib.util
  import os
  import py_compile
  import shutil
  import stat
  import subprocess
  import sys
  import tempfile
  import unittest
  from test import support
  from test.support import os_helper, script_helper
label_desc: Use image node_id 5 for calling the PyCompileTestsBase obj's underlying member method code with example usage: obj.test_do_not_overwrite_nonregular_files() without return types