We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e110d81 commit 276b0eaCopy full SHA for 276b0ea
tests/test_codegen.py
@@ -89,10 +89,10 @@ def test_load_code_gen_config(self):
89
self.assertEqual(INDENT_TYPE_SPACE, config.indent_type)
90
91
def test_init_code_gen_config_with_invalid_parameters(self):
92
- self._expect_error_when_init(indent_type='SPACE', indent_width=4)
93
- self._expect_error_when_init(indent_type='space', indent_width=-1)
+ self._expect_error_when_init_config(indent_type='SPACE', indent_width=4)
+ self._expect_error_when_init_config(indent_type='space', indent_width=-1)
94
95
- def _expect_error_when_init(self, **kwargs):
+ def _expect_error_when_init_config(self, **kwargs):
96
try:
97
CodeGenConfig(**kwargs)
98
self.fail("Must not reach here")
0 commit comments