Skip to content

Commit

Permalink
python test: use scipy as tensorflow broken on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom McLaughlin committed Dec 9, 2024
1 parent 3bdc5e0 commit 6064eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/app/Spec/Tests/Python.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tests' kernelName = describe [i|Python (#{kernelName})|] $ introduceNixEnvironme

testKernelStdout kernelName [i|print("hi")|] "hi\n"
testKernelStdout kernelName [i|print(42)|] "42\n"
testKernelStdout' kernelName [i|import tensorflow|] Nothing
testKernelStdout' kernelName [i|import scipy|] Nothing

testDiagnostics "python-lsp-server" "test.py" Nothing [i|\n\n\nfoo = 42|] $ \diagnostics -> do
assertDiagnosticRanges diagnostics []
Expand Down Expand Up @@ -71,7 +71,7 @@ kernelSpec kernelName = NixKernelSpec {
nixKernelName = kernelName
, nixKernelChannel = "codedown"
, nixKernelDisplayName = Just "Python"
, nixKernelPackages = [nameOnly "tensorflow"]
, nixKernelPackages = [nameOnly "scipy"]
, nixKernelMeta = Nothing
, nixKernelIcon = Nothing
, nixKernelExtraConfig = Just [
Expand Down

0 comments on commit 6064eb8

Please sign in to comment.