Skip to content

Commit

Permalink
Update test/python/pythoncall.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Feb 14, 2025
1 parent aceb072 commit a350937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/pythoncall.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using DifferentialEquations, PythonCall

py""" # This is a mess because normal site-packages is not writeable in CI
pyexec(""" # This is a mess because normal site-packages is not writeable in CI
import subprocess, sys, site
subprocess.run([sys.executable, '-m', 'pip', 'install', '--user', 'julia'])
subprocess.run([sys.executable, '-m', 'pip', 'install', '--user', 'diffeqpy'])
sys.path.append(site.getusersitepackages())
"""
""")

@testset "Use of DifferentialEquations through PythonCall with user code written in Python" begin
pyexec("""
Expand Down

0 comments on commit a350937

Please sign in to comment.