def test_deprecated_option_past_removal(self):
    with self.assertRaises(CodeRemovedError):
      self._parse('./pants --global-crufty-expired=way2crufty').for_global_scope()
Ensure that expired options raise CodeRemovedError on attempted use.
dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/option/test_options.py/OptionsTest.test_deprecated_option_past_removal