[python] migrate junit5python tests to dev run

GitOrigin-RevId: c2b474f4fe944f6ed9c6729b730574f6dc56350d
This commit is contained in:
Vladimir.Koshelev
2025-09-04 16:40:32 +00:00
committed by intellij-monorepo-bot
parent e5d5a03c84
commit 4fca8ab8c8
3 changed files with 5 additions and 3 deletions
@@ -42,7 +42,8 @@ public final class JUnitDevMainKt {
if (jUnitStarterModule != null) System.setProperty("idea.dev.build.test.additional.modules", jUnitStarterModule);
String testEntryPointModulePlugin = System.getProperty("idea.dev.build.test.entry.point.module") + ".plugin";
System.setProperty("additional.modules", testEntryPointModulePlugin);
String additionalModules = System.getProperty("additional.modules");
System.setProperty("additional.modules", (additionalModules != null ? additionalModules + "," : "") + testEntryPointModulePlugin);
// separate method to not retain local variables like implClass
if (!build(lookup, classLoader)) {
@@ -1,5 +1,6 @@
<idea-plugin>
<dependencies>
<module name="intellij.libraries.junit5.pioneer"/>
<module name="intellij.platform.testFramework.junit5"/>
</dependencies>
</idea-plugin>
@@ -23,7 +23,7 @@ import org.jetbrains.annotations.CheckReturnValue
* Service to register and obtain [SystemPython]s
*/
@ApiStatus.NonExtendable
sealed interface SystemPythonService {
interface SystemPythonService {
/**
* The result of this function might be cached. Use [forceRefresh] to reload it forcibly.
* @return system pythons installed on OS sorted by type, then by lang.level: in order from highest (hence, the first one is usually the best one)
@@ -91,7 +91,7 @@ class SystemPython internal constructor(private val delegate: VanillaPythonWithL
* Tool to install python on OS.
*/
@ApiStatus.NonExtendable
sealed interface PythonInstallerService {
interface PythonInstallerService {
/**
* Installs latest stable python on OS.