Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ test_compile
Function
test_compile
crates/compiler/src/lib.rs:338–342 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
336
337
#[test]
338
fn test_compile() {
339
let code =
"x = 'abc'"
;
340
let compiled = compile(code, Mode::Single,
"<>"
, CompileOpts::default());
341
dbg!(compiled.expect(
"compile error"
));
342
}
343
344
#[test]
345
fn test_compile_phello() {
Callers
nothing calls this directly
Calls
1
compile
Function · 0.70
Tested by
no test coverage detected