(self)
| 198 | |
| 199 | @force_not_colorized |
| 200 | def test_tab(self): |
| 201 | input_ = '[1, 2]' |
| 202 | expect = '[\n\t1,\n\t2\n]\n' |
| 203 | args = sys.executable, '-m', self.module, '--tab' |
| 204 | process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True) |
| 205 | self.assertEqual(process.stdout, expect) |
| 206 | self.assertEqual(process.stderr, '') |
| 207 | |
| 208 | @force_not_colorized |
| 209 | def test_compact(self): |
nothing calls this directly
no test coverage detected