Skip to content

Commit ba3bbfe

Browse files
committed
Add news fragment for #1417
1 parent 3b0378d commit ba3bbfe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.d/1417.change.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Restore support for generator-based `field_transformer`s.

tests/test_hooks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ class C:
219219

220220
def test_hook_generator(self):
221221
"""
222-
Ensure that `attrs.fields` are correctly recorded when field_transformer is a generator
222+
field_transfromers can be a generators.
223223
224-
Regression test for #1417
224+
Regression test for #1416.
225225
"""
226226

227227
def hook(cls, attribs):

0 commit comments

Comments
 (0)