[red-knot] remove duplicate test from bad merge (#11787)

Somehow a merge of a PR that had all-green CI duplicated this test when
it merged into main, breaking the build.
This commit is contained in:
Carl Meyer
2024-06-06 16:40:19 -06:00
committed by GitHub
parent cd101c83ae
commit 540d76892f

View File

@@ -626,22 +626,4 @@ mod tests {
assert_public_type(&case, "a", "x", "Literal[C1] | Literal[C2] | Literal[C3]")
}
#[test]
fn ifexpr_nested() -> anyhow::Result<()> {
let case = create_test()?;
write_to_path(
&case,
"a.py",
"
class C1: pass
class C2: pass
class C3: pass
x = C1 if flag else C2 if flag2 else C3
",
)?;
assert_public_type(&case, "a", "x", "(Literal[C1] | Literal[C2] | Literal[C3])")
}
}