code: def test_continue_outside_loop(self):
      msg = "not properly in loop"
      self._check_error("if 0: continue", msg, lineno=1)
      self._check_error("if 0: continue\nelse:  x=1", msg, lineno=1)
      self._check_error("if 1: pass\nelse: continue", msg, lineno=2)
      self._check_error("class C:\n  if 0: continue", msg, lineno=2)
      self._check_error(
          "class C:\n  if 1: pass\n  else: continue", msg, lineno=3
      )
      self._check_error(
          "with object() as obj:\n    continue", msg, lineno=2
      )
  
imports: import re
  import doctest
  import textwrap
  import unittest
  from test import support
label_desc: Use image node_id 12 for calling the SyntaxTestCase obj's underlying member method code with example usage: obj.test_continue_outside_loop() without return types