Skip to content

Commit 226f2a0

Browse files
pushing
1 parent dd1842c commit 226f2a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_unittest/testmock/testpatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
builtin_string = 'builtins'
2424

2525
PTModule = sys.modules[__name__]
26-
lazy from json import dumps as lazy_dumps
26+
lazy from json import dumps as lazy_dumps # noqa: F401
2727
MODNAME = '%s.PTModule' % __name__
2828

2929

@@ -2104,7 +2104,7 @@ def test(_):
21042104

21052105
def test_patch_autospec_lazy_import(self):
21062106
self.assertIn("lazy_dumps", globals())
2107-
2107+
21082108
with patch(f"{__name__}.lazy_dumps", autospec=True) as mock_dumps:
21092109
mock_dumps({})
21102110
mock_dumps.assert_called_once_with({})

0 commit comments

Comments
 (0)