diff --git a/Directory.Packages.props b/Directory.Packages.props
index 4beb5f69..e4c6dd1a 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -35,7 +35,7 @@
-
+
diff --git a/ci/scripts/test.sh b/ci/scripts/test.sh
index 5a8d4d67..2de3c9be 100755
--- a/ci/scripts/test.sh
+++ b/ci/scripts/test.sh
@@ -30,7 +30,7 @@ if [ -z "${PYTHON:-}" ]; then
fi
fi
if [ "$(uname)" = "Linux" ]; then
- ${PYTHON} -m venv create arrow-dotnet-dev
+ ${PYTHON} -m venv arrow-dotnet-dev
# shellcheck source=/dev/null
. arrow-dotnet-dev/bin/activate
python3 -m pip install pyarrow find-libpython
diff --git a/test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj b/test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj
index b45a55ce..fc04e92c 100644
--- a/test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj
+++ b/test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj
@@ -4,8 +4,6 @@
true
true
-
- true
diff --git a/test/Apache.Arrow.Tests/PythonNetFixture.cs b/test/Apache.Arrow.Tests/PythonNetFixture.cs
index 1d28bbc9..71b950a0 100644
--- a/test/Apache.Arrow.Tests/PythonNetFixture.cs
+++ b/test/Apache.Arrow.Tests/PythonNetFixture.cs
@@ -41,6 +41,10 @@ public PythonNetFixture()
return;
}
+ // Disable stashing the Python.NET runtime on shutdown.
+ // This is only required if we reload the runtime in the same process.
+ RuntimeData.FormatterType = typeof(NoopFormatter);
+
try
{
PythonEngine.Initialize();