class_docstr: Unit tests for the UploadStats class.
class_docstr_tok: ["Unit","tests","for","the","UploadStats","class","."]
code: def testSummarizeeWithoutTensorsOrBlobs(self):
      stats = upload_tracker.UploadStats()
      stats.add_scalars(1234)
      self.assertEqual(stats.has_new_data_since_last_summarize(), True)
      (uploaded_summary, skipped_summary) = stats.summarize()
      self.assertEqual(
          uploaded_summary,
          "1234 scalars, 0 tensors, 0 binary objects",
      )
      self.assertIsNone(skipped_summary)
      self.assertEqual(stats.has_new_data_since_last_summarize(), False)
  
imports: import sys
  from unittest import mock
  from tensorboard import test
  from tensorboard.uploader import upload_tracker
label_desc: Use image node_id 8 for calling the UploadStatsTest obj's underlying member method code with example usage: obj.testSummarizeeWithoutTensorsOrBlobs() without return types