From 4ce6e4b25d9f858ecd08c37983b126e404bf35d4 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Wed, 12 Jan 2022 13:52:13 +0530 Subject: [PATCH] Remove persistence in Pylint tests --- src/shell.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/shell.rs b/src/shell.rs index 9e1167a..fe06e5d 100644 --- a/src/shell.rs +++ b/src/shell.rs @@ -315,7 +315,12 @@ mod tests { let mut source = Xonsh(&opts).render().unwrap(); source.push('\n'); - Command::new("pylint").args(&["--from-stdin", "zoxide"]).write_stdin(source).assert().success().stderr(""); + Command::new("pylint") + .args(&["--from-stdin", "--persistent=n", "zoxide"]) + .write_stdin(source) + .assert() + .success() + .stderr(""); } #[rstest]