Skip to content

Commit b9f84f4

Browse files
committed
remove useless assertion
1 parent f3e8a88 commit b9f84f4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/statement/AbstractImportNode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ static Object levelZeroNoFromlist(VirtualFrame frame, PythonContext context, Str
213213
throw raiseNode.raise(PythonBuiltinClassType.ValueError, "Empty module name");
214214
}
215215
PDict sysModules = context.getSysModules();
216-
assert sysModules != null : "sysModules is null?!";
217216
Object mod = getModuleNode.execute(frame, sysModules, absName); // import_get_module
218217
if (mod != null && mod != PNone.NONE) {
219218
ensureInitialized.execute(frame, context, mod, absName);

0 commit comments

Comments
 (0)