docstr: editing query results shouldn't affect record [get]
docstr_tok: ["editing","query","results","should","n't","affect","record","[","get","]"]
code: def test_pop_safe_get(self):
      """editing query results shouldn't affect record [get]"""
      msg_id = self.db.get_history()[-1]
      rec = self.db.get_record(msg_id)
      rec.pop("buffers")
      rec["garbage"] = "hello"
      rec["header"]["msg_id"] = "fubar"
      rec2 = self.db.get_record(msg_id)
      assert "buffers" in rec2
      assert not "garbage" in rec2
      assert rec2["header"]["msg_id"] == msg_id
  
imports: import logging
  import os
  import tempfile
  import time
  from datetime import datetime, timedelta
  from unittest import TestCase
  import pytest
  from jupyter_client.session import Session
  from ipyparallel import util
  from ipyparallel.controller.dictdb import DictDB
  from ipyparallel.controller.hub import init_record
  from ipyparallel.controller.sqlitedb import SQLiteDB
  from ipyparallel.util import utc
label_desc: Use image node_id 16 for calling the TaskDBTest obj's underlying member method code with example usage: obj.test_pop_safe_get() without return types