mirror of https://github.com/flaggo/pydu.git
modify dict test case
This commit is contained in:
parent
241f32670d
commit
9b5f333039
|
@ -25,7 +25,9 @@ class TestAttrDict(object):
|
|||
d = AttrDict(key=1)
|
||||
del d.key
|
||||
with pytest.raises(AttributeError):
|
||||
d.key
|
||||
print(d.key)
|
||||
with pytest.raises(KeyError):
|
||||
del d.key
|
||||
|
||||
def test_repr(self):
|
||||
d = AttrDict()
|
||||
|
|
Loading…
Reference in New Issue