Skip to content

Commit

Permalink
Remove test_test_new_syntax_without_dot_type
Browse files Browse the repository at this point in the history
Summary: This was added when we added support of types like `str` instead of `str.type`. Now it does not test much.

Reviewed By: JakobDegen

Differential Revision: D63426962

fbshipit-source-id: 39c88eb1ce2bd4baf4c0a218a4b489503196272f
  • Loading branch information
stepancheg authored and facebook-github-bot committed Sep 26, 2024
1 parent 0e6ecdb commit 442d340
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.

This file was deleted.

17 changes: 0 additions & 17 deletions starlark/src/typing/tests/special_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,3 @@ def test():
"#,
);
}

#[test]
fn test_test_new_syntax_without_dot_type() {
TypeCheck::new().check(
"new_syntax_without_dot_type",
r#"
def foo(x: str): pass
def bar():
# good
foo("test")
# bad
foo(1)
"#,
);
}

0 comments on commit 442d340

Please sign in to comment.