File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1+ from . import with_rebuilt
12from .core import JuliaError , LegacyJulia as Julia
Original file line number Diff line number Diff line change 1- #!/usr/bin/env python
2-
31"""
42(Maybe) Re-build PyCall.jl to test ``exe_differs=False`` path.
53
64``Pkg.build("PyCall")`` is run on Julia side when the environment
75variable `PYJULIA_TEST_REBUILD` is set to ``yes``.
86"""
97
10- from __future__ import print_function
8+ from __future__ import print_function , absolute_import
119
1210import os
1311import subprocess
1412import sys
1513from contextlib import contextmanager
1614
17- from julia .core import juliainfo
15+ from .core import juliainfo
1816
1917
2018@contextmanager
Original file line number Diff line number Diff line change 66 pytest
77 numpy
88commands =
9- {toxinidir}/ci/ with_rebuilt -- python -m pytest {posargs}
9+ python -m julia. with_rebuilt -- python -m pytest {posargs}
1010 # Using "python -m pytest" to exactly match the Python interpreter
11- # used to build PyCall.jl via ci /with_rebuilt (when
11+ # used to build PyCall.jl via julia /with_rebuilt.py (when
1212 # PYJULIA_TEST_REBUILD=yes).
1313
1414passenv =
@@ -17,6 +17,6 @@ passenv =
1717 # https://github.com/JuliaDiffEq/diffeqpy/pull/13/commits/850441ee63962a2417de2bce6f6223052ee9cceb
1818 SSL_CERT_FILE
1919
20- # See: test/test_core .py
20+ # See: julia/with_rebuilt .py
2121 PYJULIA_TEST_REBUILD
2222 JULIA_EXE
You can’t perform that action at this time.
0 commit comments