(self)
| 189 | |
| 190 | @force_not_colorized |
| 191 | def test_no_indent(self): |
| 192 | input_ = '[1,\n2]' |
| 193 | expect = '[1, 2]\n' |
| 194 | args = sys.executable, '-m', self.module, '--no-indent' |
| 195 | process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True) |
| 196 | self.assertEqual(process.stdout, expect) |
| 197 | self.assertEqual(process.stderr, '') |
| 198 | |
| 199 | @force_not_colorized |
| 200 | def test_tab(self): |
nothing calls this directly
no test coverage detected