File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/red_knot_python_semantic/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ pub(crate) mod tests {
136
136
/// Target Python platform
137
137
python_platform : PythonPlatform ,
138
138
/// Path to a custom typeshed directory
139
- typeshed : Option < SystemPathBuf > ,
139
+ custom_typeshed : Option < SystemPathBuf > ,
140
140
/// Path and content pairs for files that should be present
141
141
files : Vec < ( & ' a str , & ' a str ) > ,
142
142
}
@@ -146,7 +146,7 @@ pub(crate) mod tests {
146
146
Self {
147
147
python_version : PythonVersion :: default ( ) ,
148
148
python_platform : PythonPlatform :: default ( ) ,
149
- typeshed : None ,
149
+ custom_typeshed : None ,
150
150
files : vec ! [ ] ,
151
151
}
152
152
}
@@ -171,7 +171,7 @@ pub(crate) mod tests {
171
171
. context ( "Failed to write test files" ) ?;
172
172
173
173
let mut search_paths = SearchPathSettings :: new ( vec ! [ src_root] ) ;
174
- search_paths. custom_typeshed = self . typeshed ;
174
+ search_paths. custom_typeshed = self . custom_typeshed ;
175
175
176
176
Program :: from_settings (
177
177
& db,
You can’t perform that action at this time.
0 commit comments