input: Write a function to encrypt a message using a Caesar cipher. The function should shift each character in the message by a given number of positions in the ASCII table, wrapping around if necessary. If the shifted character goes beyond ASCII character 126, it should wrap around from ASCII character 32. The function should return the encrypted message.
  
  def caesar_encrypt(message, shift):
      encrypted_message = ""
      for c in message:
          encrypted_c = ord(c) + shift
          if encrypted_c > 126:
              encrypted_c -= 94
          encrypted_message += chr(encrypted_c)
      return encrypted_message
  
  assert caesar_encrypt('Hello, World!', 3) == '#Khoor/#Zruog$'
  assert caesar_encrypt('abcXYZ', 5) == 'fgh]^_`'
  assert caesar_encrypt('12345', 1) == '!\"#$%'
  assert caesar_encrypt('', 10) == ''
  assert caesar_encrypt('Testing', 0) == 'Testing'
output: def caesar_encrypt(message, shift):
      encrypted_message = ""
      for c in message:
          encrypted_c = ord(c) + shift
          if encrypted_c > 126:
              encrypted_c -= 94
          encrypted_message += chr(encrypted_c)
      return encrypted_message