File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2370,12 +2370,12 @@ Sealing mocks
23702370
23712371.. function :: seal(mock)
23722372
2373- Seal will disable the creation of mock children by preventing to get or set
2374- any new attribute on the sealed mock. The sealing process is performed recursively.
2373+ Seal will disable the creation of mock children by preventing getting or setting
2374+ of any new attribute on the sealed mock. The sealing process is performed recursively.
23752375
23762376 If a mock instance is assigned to an attribute instead of being dynamically created
2377- it won't be considered in the sealing chain. This allows to prevent seal from fixing
2378- part of the mock object.
2377+ it won't be considered in the sealing chain. This allows one to prevent seal from
2378+ fixing part of the mock object.
23792379
23802380 >>> mock = Mock()
23812381 >>> mock.submock.attribute1 = 2
You can’t perform that action at this time.
0 commit comments