code: def test_binary_jpeg(self):
      with pytest.warns(
          UserWarning, match="bytes instead of likely base64"
      ):
          out = new_output(
              output_jpeg=b"\xff\xd8", output_type="display_data"
          )
  
imports: from __future__ import annotations
  from unittest import TestCase
  import pytest
  from nbformat.v3.nbbase import NotebookNode, nbformat, new_author, new_code_cell, new_heading_cell, new_metadata, new_notebook, new_output, new_text_cell, new_worksheet
label_desc: Use image node_id 3 for calling the TestOutputs obj's underlying member method code with example usage: obj.test_binary_jpeg() without return types