code: def _get_notebook_node(self):                   # pragma: no cover
          "Load captured notebook node"
          size = len(self._notebook_data)
          if size == 0:
              raise Exception("Captured buffer size for notebook node is zero.")
          node = reader.reads(self._notebook_data)
          self.nbversion = reader.get_version(node)
          return nodf _get_notebook_node(self):                   # pragma: no cover
          "Load captured notebook node"
          size = len(self._notebook_data)
          if size == 0:
              raise Exception("Captured buffer size for notebook node is zero.")
          node = reader.reads(self._notebook_data)
          self.nbversion = reader.get_version(node)
          return node
docs: Load captured notebook node