Skip to content

Commit

Permalink
Remove unneded debug constant (#8762)
Browse files Browse the repository at this point in the history
I added it recently before I discovered `--mypyc-showc`.
  • Loading branch information
ilevkivskyi authored May 2, 2020
1 parent 6534935 commit 2a3de7b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions mypyc/test/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@

WORKDIR = 'build'

# This will dump content of all generated C files.
VERBOSE_DEBUG_DUMP = False


def run_setup(script_name: str, script_args: List[str]) -> bool:
"""Run a setup script in a somewhat controlled environment.
Expand Down Expand Up @@ -219,12 +216,6 @@ def run_case_step(self, testcase: DataDrivenTestCase, incremental_step: int) ->
errors=errors,
groups=groups,
)
if VERBOSE_DEBUG_DUMP:
for group in cfiles:
for name, content in group:
print(name)
print('-' * len(name))
print(content + '\n')
if errors.num_errors:
errors.flush_errors()
assert False, "Compile error"
Expand Down

0 comments on commit 2a3de7b

Please sign in to comment.