code: def make_bad_fd():
      """
      Create an invalid file descriptor by opening and closing a file and return
      its fd.
      """
      file = open(TESTFN, "wb")
      try:
          return file.fileno()
      finally:
          file.close()
          unlink(TESTFN)
  
imports: import collections.abc
  import contextlib
  import errno
  import os
  import re
  import stat
  import string
  import sys
  import time
  import unittest
  import warnings
  from test import support
label_desc: Use image node_id 1 for calling a global function with example usage: make_bad_fd() and returns: file