From 654238d71b81ad8f3ba74a80002c223f6472aa2b Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 27 Oct 2024 17:25:04 +0300 Subject: [PATCH] update --- .ci/test-windows.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.ci/test-windows.ps1 b/.ci/test-windows.ps1 index d5800df31d6..f2f0de68371 100644 --- a/.ci/test-windows.ps1 +++ b/.ci/test-windows.ps1 @@ -157,8 +157,9 @@ if (($env:TASK -eq "regular") -or (($env:APPVEYOR -eq "true") -and ($env:TASK -e } # Run all notebooks Set-Location $env:BUILD_SOURCESDIRECTORY/examples/python-guide/notebooks - (Get-Content "interactive_plot_example.ipynb"). - replace('INTERACTIVE = False', 'assert False, \"Interactive mode disabled\"') | - Set-Content "interactive_plot_example.ipynb" + (Get-Content "interactive_plot_example.ipynb").replace( + 'INTERACTIVE = False', + 'assert False, \"Interactive mode disabled\"' + ) | Set-Content "interactive_plot_example.ipynb" jupyter nbconvert --ExecutePreprocessor.timeout=180 --to notebook --execute --inplace *.ipynb ; Assert-Output $? }