File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v2.3 .0
3+ rev : v5.0 .0
44 hooks :
55 - id : check-yaml
66 - id : end-of-file-fixer
77 - id : trailing-whitespace
88 - repo : https://github.com/astral-sh/ruff-pre-commit
99 # Ruff version.
10- rev : v0.4.7
10+ rev : v0.9.6
1111 hooks :
1212 # Run the linter.
1313 - id : ruff
Original file line number Diff line number Diff line change 11from collections import namedtuple
22
33import pytest
4+
45from scottzach1 .pif import exceptions , providers
56
67
@@ -167,7 +168,7 @@ def test_singleton():
167168 dict_3 = provider ()
168169
169170 assert dict_1 == {"a" : 1 , "b" : 2 }
170- assert dict_1 is not {"a" : 1 , "b" : 2 }
171+ assert dict_1 != {"a" : 1 , "b" : 2 }
171172 assert dict_2 is dict_1
172173 assert dict_3 is dict_1
173174
@@ -190,7 +191,7 @@ def test_factory():
190191 dict_3 = provider ()
191192
192193 assert dict_1 == {"a" : 1 , "b" : 2 }
193- assert dict_1 is not {"a" : 1 , "b" : 2 }
194+ assert dict_1 != {"a" : 1 , "b" : 2 }
194195
195196 assert dict_2 == dict_1
196197 assert dict_2 is not dict_1
You can’t perform that action at this time.
0 commit comments