Coverage for C:\src\imod-python\imod\mf6\interfaces\idict.py: 53%
36 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-04-08 10:26 +0200
« prev ^ index » next coverage.py v7.4.4, created at 2024-04-08 10:26 +0200
1import abc
4class IDict(abc.ABC):
5 """
6 Interface for collections.UserDict
7 """
9 def __setitem__(self, key, item):
10 raise NotImplementedError
12 def __getitem__(self, key):
13 raise NotImplementedError
15 def __repr__(self):
16 raise NotImplementedError
18 def __len__(self):
19 raise NotImplementedError
21 def __delitem__(self, key):
22 raise NotImplementedError
24 def clear(self):
25 raise NotImplementedError
27 def copy(self):
28 raise NotImplementedError
30 def has_key(self, k):
31 raise NotImplementedError
33 def update(self, *args, **kwargs):
34 raise NotImplementedError
36 def keys(self):
37 raise NotImplementedError
39 def values(self):
40 raise NotImplementedError
42 def items(self):
43 raise NotImplementedError
45 def pop(self, *args):
46 raise NotImplementedError
48 def __cmp__(self, dict_):
49 raise NotImplementedError
51 def __contains__(self, item):
52 raise NotImplementedError
54 def __iter__(self):
55 raise NotImplementedError
57 def __unicode__(self):
58 raise NotImplementedError