Skip to content

Commit 2a3de7b

Browse files
authored
Remove unneded debug constant (#8762)
I added it recently before I discovered `--mypyc-showc`.
1 parent 6534935 commit 2a3de7b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

mypyc/test/test_run.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@
5151

5252
WORKDIR = 'build'
5353

54-
# This will dump content of all generated C files.
55-
VERBOSE_DEBUG_DUMP = False
56-
5754

5855
def run_setup(script_name: str, script_args: List[str]) -> bool:
5956
"""Run a setup script in a somewhat controlled environment.
@@ -219,12 +216,6 @@ def run_case_step(self, testcase: DataDrivenTestCase, incremental_step: int) ->
219216
errors=errors,
220217
groups=groups,
221218
)
222-
if VERBOSE_DEBUG_DUMP:
223-
for group in cfiles:
224-
for name, content in group:
225-
print(name)
226-
print('-' * len(name))
227-
print(content + '\n')
228219
if errors.num_errors:
229220
errors.flush_errors()
230221
assert False, "Compile error"

0 commit comments

Comments
 (0)