mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-19 01:50:38 +00:00
Remove unnecessary PreviewMode::Enabled
in tests (#15344)
This commit is contained in:
parent
75fc2c3116
commit
71b6ac81a6
1 changed files with 0 additions and 2 deletions
|
@ -12,7 +12,6 @@ mod tests {
|
|||
|
||||
use crate::registry::Rule;
|
||||
use crate::settings::types::IdentifierPattern;
|
||||
use crate::settings::types::PreviewMode;
|
||||
use crate::test::test_path;
|
||||
use crate::{assert_messages, settings};
|
||||
|
||||
|
@ -302,7 +301,6 @@ mod tests {
|
|||
.join(Path::new("PT006_and_PT007.py"))
|
||||
.as_path(),
|
||||
&settings::LinterSettings {
|
||||
preview: PreviewMode::Enabled,
|
||||
..settings::LinterSettings::for_rules(vec![
|
||||
Rule::PytestParametrizeNamesWrongType,
|
||||
Rule::PytestParametrizeValuesWrongType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue