code: def test_invalid_tokens(self):
      data = (
          "invalid host.domain.com",
          "machine host.domain.com invalid",
          "machine host.domain.com login log password pass account acct invalid",
          "default host.domain.com invalid",
          "default host.domain.com login log password pass account acct invalid",
      )
      for item in data:
          self.assertRaises(netrc.NetrcParseError, self.make_nrc, item)
  
imports: import netrc, os, unittest, sys, textwrap
  from test.support import os_helper
label_desc: Use image node_id 6 for calling the NetrcTestCase obj's underlying member method code with example usage: obj.test_invalid_tokens() without return types