class_docstr: PosTag (Part of Speech Tagging Visualizer) Tests
docstr: Assert no errors occur during PosTagVisualizer integration
  with wordpunct tokenized corpus
docstr_tok: ["Assert","no","errors","occur","during","PosTagVisualizer","integration","with","wordpunct","tokenized","corpus"]
code: def test_wordpunct_tagged(self):
      """
      Assert no errors occur during PosTagVisualizer integration
      with wordpunct tokenized corpus
      """
      # Fail if data hasn't been downloaded
      check_nltk_data()
  
      wordpunct_tagged_docs = list(
          get_tagged_docs(sonnets, model="nltk", tagger="wordpunct")
      )
  
      visualizer = PosTagVisualizer(tagset="penn_treebank")
  
      visualizer.fit(wordpunct_tagged_docs)
      visualizer.ax.grid(False)
  
      self.assert_images_similar(visualizer)
  
imports: import pytest
  import matplotlib.pyplot
  from tests.base import VisualTestCase
  from tests.base import IS_WINDOWS_OR_CONDA
  from yellowbrick.text.postag import *
  from yellowbrick.exceptions import YellowbrickValueError
label_desc: Use image node_id 5 for calling the TestPosTag obj's underlying member method code with example usage: obj.test_wordpunct_tagged() without return types