File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33
44repos :
55 - repo : https://github.com/pre-commit/pre-commit-hooks
6- rev : c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5 .0
6+ rev : 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6 .0
77 hooks :
88 - id : trailing-whitespace
99 - id : end-of-file-fixer
@@ -24,12 +24,12 @@ repos:
2424 args : [--prose-wrap=preserve]
2525
2626 - repo : https://github.com/psf/black
27- rev : 552baf822992936134cbd31a38f69c8cfe7c0f05 # frozen: 24.3.0
27+ rev : 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
2828 hooks :
2929 - id : black
3030
3131 - repo : https://github.com/astral-sh/ruff-pre-commit
32- rev : 0ccbb5b7942d83fbcf7cb5e0fd99633efd2351d7 # frozen: v0.3.5
32+ rev : 1dc9eb131c2ea4816c708e4d85820d2cc8542683 # frozen: v0.5.0
3333 hooks :
3434 - id : ruff
3535 args : [--fix, --exit-non-zero-on-fix]
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def test_lazy_import_subpackages():
3535 with pytest .warns (RuntimeWarning ):
3636 hp = lazy .load ("html.parser" )
3737 assert "html" in sys .modules
38- assert type (sys .modules ["html" ]) == type (pytest )
38+ assert type (sys .modules ["html" ]) is type (pytest )
3939 assert isinstance (hp , importlib .util ._LazyModule )
4040 assert "html.parser" in sys .modules
4141 assert sys .modules ["html.parser" ] == hp
You can’t perform that action at this time.
0 commit comments