diff --git a/tests/blackbox.py b/tests/blackbox.py index 65c6a6074..3b1c21581 100644 --- a/tests/blackbox.py +++ b/tests/blackbox.py @@ -434,7 +434,13 @@ def approval(): return approval - def compile(self, version: int, *, assemble_constants: bool = False, assembly_type_track: bool = True) -> str: + def compile( + self, + version: int, + *, + assemble_constants: bool = False, + assembly_type_track: bool = True, + ) -> str: return compileTeal( self.program(), self.mode, diff --git a/tests/integration/graviton_test.py b/tests/integration/graviton_test.py index 3340fa0bd..6dc1dc104 100644 --- a/tests/integration/graviton_test.py +++ b/tests/integration/graviton_test.py @@ -31,11 +31,22 @@ def wrap_compile_and_save( - subr, mode, version, assemble_constants, test_name, case_name, *, assembly_type_track: bool = True, + subr, + mode, + version, + assemble_constants, + test_name, + case_name, + *, + assembly_type_track: bool = True, ): is_app = mode == pt.Mode.Application - teal = PyTealDryRunExecutor(subr, mode).compile(version, assemble_constants=assemble_constants, assembly_type_track=assembly_type_track) + teal = PyTealDryRunExecutor(subr, mode).compile( + version, + assemble_constants=assemble_constants, + assembly_type_track=assembly_type_track, + ) tealfile = f'{"app" if is_app else "lsig"}_{case_name}_v{version}.teal' tealdir = GENERATED / test_name @@ -481,7 +492,12 @@ def blackbox_test_runner( # 1. Compile to TEAL teal, _, tealfile = wrap_compile_and_save( - subr, mode, version, assemble_constants, "blackbox", case_name, + subr, + mode, + version, + assemble_constants, + "blackbox", + case_name, # Temporarily disabling until https://github.com/algorand/go-algorand/pull/5884 is released assembly_type_track=False, )