Skip to content

Commit 647fff8

Browse files
authored
Track LLVM changes (#1504)
LLVM disallows explicit initialization. test_compilation.py: remove unused imports
1 parent eff955f commit 647fff8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

mathics/compile/compile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from mathics.compile.utils import llvm_to_ctype
77

88
# setup llvm for code generation
9-
llvm.initialize()
109
llvm.initialize_native_target()
1110
llvm.initialize_native_asmprinter() # yes, even this one
1211

test/builtin/test_compilation.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
Unit tests from mathics.builtin.compilation.
44
"""
55

6-
import sys
7-
import time
8-
from test.helper import check_evaluation, evaluate
6+
from test.helper import check_evaluation
97

108
import pytest
119

0 commit comments

Comments
 (0)