mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Fix super import
This commit is contained in:
@@ -125,7 +125,7 @@ mod rustyline_readline {
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_rusty_readline {
|
||||
use super::*;
|
||||
use super::{Readline};
|
||||
use rustyline::{completion::Completer, highlight::Highlighter,
|
||||
validate::Validator, Context, hint::Hinter};
|
||||
use rustyline::error::ReadlineError;
|
||||
@@ -142,8 +142,8 @@ mod rustyline_readline {
|
||||
|
||||
fn complete(
|
||||
&self,
|
||||
line: &str,
|
||||
pos: usize,
|
||||
_line: &str,
|
||||
_pos: usize,
|
||||
_ctx: &Context,
|
||||
) -> rustyline::Result<(usize, Vec<String>)> {
|
||||
Err(ReadlineError::Interrupted)
|
||||
@@ -152,7 +152,6 @@ mod rustyline_readline {
|
||||
impl Hinter for HelperShim {
|
||||
type Hint = String;
|
||||
}
|
||||
// impl Helper for ShellHelper<'_> {}
|
||||
#[test]
|
||||
fn test_multi_read_line() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user