diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 487e09f..03378ff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,12 @@ jobs: pip install -r requirements.txt - name: Build run: python setup.py develop + - name: Save binaries + uses: actions/upload-artifact@v4 + with: + name: binary + path: | + *.so - name: Test run: pytest -v diff --git a/pyteleport/bytecode/minias.py b/pyteleport/bytecode/minias.py index 8e746c7..23883d0 100644 --- a/pyteleport/bytecode/minias.py +++ b/pyteleport/bytecode/minias.py @@ -683,12 +683,7 @@ def from_iterable( current = c if verify: - try: - verify_instructions(instructions) - except: - import logging - AssembledBytecode.from_code_object(source).print(logging.debug) - raise + verify_instructions(instructions) if compute_stack_size: assign_stack_size(instructions)