old_contents: from .base import paw_test
  
  
  class parse_cset_test(paw_test):
      def test_parse_cset(self):
          self.paw.gensets = "[%dd]"
          self.paw.parse_cset()
          (key, value), = self.paw.cset.items()
          self.assertEqual(value, "0123456789d")
  
      def test_parse_cset_uneven(self):
          self.paw.gensets = "[a"
          self.paw.parse_cset()
          self.assertEqual(self.paw.wcount, 1)
  
new_contents: from .base import paw_test
  
  
  class parse_cset_test(paw_test):
      def test_parse_cset(self):
          self.paw.gensets = "[%dd]"
          self.paw.parse_cset()
          (key, value), = self.paw.cset.items()
          self.assertEqual(value, "0123456789d")
  
      def test_parse_cset_lbracket(self):
          self.paw.gensets = "[[]"
          self.paw.parse_cset()
          (key, value), = self.paw.cset.items()
          self.assertEqual(value, "[")
  
      def test_parse_cset_rbracket(self):
          self.paw.gensets = "[]]"
          self.paw.parse_cset()
          (key, value), = self.paw.cset.items()
          self.assertEqual(value, "]")
  
subject: Update parse_cset() tests