code: def test_md5_calculation_succeeds_with_bytes_input(self):
      with patch(
          "streamlit.watcher.util.open", mock_open(read_data=b"hello")
      ) as m:
          md5 = util.calc_md5_with_blocking_retries("foo")
          self.assertEqual(md5, "5d41402abc4b2a76b9719d911017c592")
  
imports: import tempfile
  import unittest
  from unittest.mock import MagicMock, mock_open, patch
  from streamlit.watcher import util
label_desc: Use image node_id 1 for calling the UtilTest obj's underlying member method code with example usage: obj.test_md5_calculation_succeeds_with_bytes_input() without return types