code: def no_netrc():
      netrcpath = os.path.expanduser("~/.netrc")
      netrcpath_bak = netrcpath + ".bak"
      if os.path.isfile(netrcpath):
          shutil.move(netrcpath, netrcpath_bak)
          try:
              yield
          finally:
              shutil.move(netrcpath_bak, netrcpath)
      else:
          yield
  
imports: import json
  import os
  import re
  import glob
  import shutil
  from contextlib import contextmanager
  from functools import partialmethod
  import pytest
  import requests_mock
  from click.testing import CliRunner
  from sentinelsat import SentinelAPI, InvalidChecksumError
  from sentinelsat.scripts.cli import cli
label_desc: Use image node_id 3 for calling a global function with example usage: no_netrc() without return types