diff --git a/cpg-language-python/src/test/kotlin/de/fraunhofer/aisec/cpg/frontends/python/PythonFrontendTest.kt b/cpg-language-python/src/test/kotlin/de/fraunhofer/aisec/cpg/frontends/python/PythonFrontendTest.kt index d7786c868f..5bcba20b44 100644 --- a/cpg-language-python/src/test/kotlin/de/fraunhofer/aisec/cpg/frontends/python/PythonFrontendTest.kt +++ b/cpg-language-python/src/test/kotlin/de/fraunhofer/aisec/cpg/frontends/python/PythonFrontendTest.kt @@ -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() - } - - 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?,