Skip to content

Commit c2ef88b

Browse files
committed
fix test messing with global config
1 parent 96f072b commit c2ef88b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ def test_empty_attribute_default(self):
12751275
CONSTANTS.empty_attribute_default = _orig
12761276

12771277
def test_empty_attribute_on_instance(self):
1278-
hn = HumanName("")
1278+
hn = HumanName("", None)
12791279
hn.C.empty_attribute_default = None
12801280
self.m(hn.title, None, hn)
12811281
self.m(hn.first, None, hn)
@@ -1285,7 +1285,7 @@ def test_empty_attribute_on_instance(self):
12851285
self.m(hn.nickname, None, hn)
12861286

12871287
def test_none_empty_attribute_string_formatting(self):
1288-
hn = HumanName("")
1288+
hn = HumanName("", None)
12891289
hn.C.empty_attribute_default = None
12901290
self.m('', str(hn), hn)
12911291

0 commit comments

Comments
 (0)