Skip to content

Commit

Permalink
Adjusted test, but alias does not work and Go seems to be slow
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto committed Feb 10, 2025
1 parent c208e54 commit db7d529
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1841,12 +1841,14 @@ class PythonFrontendTest : BaseTest() {

@Test
fun testSuperclassImportFullPath() {
val topLevel = Path.of("src", "test", "resources", "python", "superclasses")
val topLevel = Path.of("src", "test")
val result =
analyze(
listOf(
topLevel.resolve("superclass_import_full_path.py").toFile(),
topLevel.resolve("superclass.py").toFile(),
topLevel
.resolve("resources/python/superclasses/superclass_import_full_path.py")
.toFile(),
topLevel.resolve("resources/python/superclasses/superclass.py").toFile(),
),
topLevel,
true,
Expand All @@ -1869,12 +1871,14 @@ class PythonFrontendTest : BaseTest() {

@Test
fun testSuperclassImportModuleAlias() {
val topLevel = Path.of("src", "test", "resources", "python", "superclasses")
val topLevel = Path.of("src", "test")
val result =
analyze(
listOf(
topLevel.resolve("superclass_import_module_alias.py").toFile(),
topLevel.resolve("superclass.py").toFile(),
topLevel
.resolve("resources/python/superclasses/superclass_import_module_alias.py")
.toFile(),
topLevel.resolve("resources/python/superclasses/superclass.py").toFile(),
),
topLevel,
true,
Expand Down

0 comments on commit db7d529

Please sign in to comment.