mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
Merge upstream main and fix fmt
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
This commit is contained in:
1 parent
47bfad969c
commit
f8e8c15965
1 file changed
+1
-2
@@ -2849,8 +2849,7 @@ mod tests {
|
||||
#[test]
|
||||
fn path_qualified_py_attr_returns_error() {
|
||||
let attr: syn::Attribute = syn::parse_quote!(#[vm::pymethod]);
|
||||
let result =
|
||||
attrs_to_content_items(&[attr], |i, name| (i, name));
|
||||
let result = attrs_to_content_items(&[attr], |i, name| (i, name));
|
||||
let err = result.expect_err("expected error for path-qualified #[vm::pymethod]");
|
||||
let msg = err.to_string();
|
||||
assert!(
|
||||
|
||||
Reference in new issue
Block a user