Skip to content

Commit

Permalink
Delete not related test
Browse files Browse the repository at this point in the history
  • Loading branch information
lshala committed Nov 22, 2024
1 parent 8d2d81e commit 3b56fc4
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1677,27 +1677,6 @@ class PythonFrontendTest : BaseTest() {
}
}

@Test
fun testTest() {
val directoryPath = Path.of("/home", "lshala", "repos", "nova")
val tr =
analyze(fileExtension = ".py", directoryPath, usePasses = true) {
it.registerLanguage<PythonLanguage>()
}

val problemsList = tr.components.flatMap { it.translationUnits }.flatMap { it.problems }

val msg =
(problemsList)
.groupBy { it.problem }
.toList()
.sortedBy { it.second.size }
.reversed()
.map { "${it.second.size}: ${it.first}" }

msg.forEach(System.out::println)
}

class PythonValueEvaluator : ValueEvaluator() {
override fun computeBinaryOpEffect(
lhsValue: Any?,
Expand Down

0 comments on commit 3b56fc4

Please sign in to comment.