We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f072b commit c2ef88bCopy full SHA for c2ef88b
tests.py
@@ -1275,7 +1275,7 @@ def test_empty_attribute_default(self):
1275
CONSTANTS.empty_attribute_default = _orig
1276
1277
def test_empty_attribute_on_instance(self):
1278
- hn = HumanName("")
+ hn = HumanName("", None)
1279
hn.C.empty_attribute_default = None
1280
self.m(hn.title, None, hn)
1281
self.m(hn.first, None, hn)
@@ -1285,7 +1285,7 @@ def test_empty_attribute_on_instance(self):
1285
self.m(hn.nickname, None, hn)
1286
1287
def test_none_empty_attribute_string_formatting(self):
1288
1289
1290
self.m('', str(hn), hn)
1291
0 commit comments