File tree 1 file changed +2
-2
lines changed
crates/ruff_linter/src/rules/pyupgrade/rules
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use crate::checkers::ast::Checker;
13
13
///
14
14
/// ## Why is this bad?
15
15
/// The `unittest` module has deprecated aliases for some of its methods.
16
- /// The aliases may be removed in future versions of Python. Instead,
16
+ /// The deprecated aliases were removed in Python 3.12. Instead of aliases ,
17
17
/// use their non-deprecated counterparts.
18
18
///
19
19
/// ## Example
@@ -37,7 +37,7 @@ use crate::checkers::ast::Checker;
37
37
/// ```
38
38
///
39
39
/// ## References
40
- /// - [Python documentation: Deprecated aliases](https://docs.python.org/3/library/unittest.html#deprecated-aliases)
40
+ /// - [Python 3.11 documentation: Deprecated aliases](https://docs.python.org/3.11 /library/unittest.html#deprecated-aliases)
41
41
#[ violation]
42
42
pub struct DeprecatedUnittestAlias {
43
43
alias : String ,
You can’t perform that action at this time.
0 commit comments