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

1import abc 

2 

3 

4class IDict(abc.ABC): 

5 """ 

6 Interface for collections.UserDict 

7 """ 

8 

9 def __setitem__(self, key, item): 

10 raise NotImplementedError 

11 

12 def __getitem__(self, key): 

13 raise NotImplementedError 

14 

15 def __repr__(self): 

16 raise NotImplementedError 

17 

18 def __len__(self): 

19 raise NotImplementedError 

20 

21 def __delitem__(self, key): 

22 raise NotImplementedError 

23 

24 def clear(self): 

25 raise NotImplementedError 

26 

27 def copy(self): 

28 raise NotImplementedError 

29 

30 def has_key(self, k): 

31 raise NotImplementedError 

32 

33 def update(self, *args, **kwargs): 

34 raise NotImplementedError 

35 

36 def keys(self): 

37 raise NotImplementedError 

38 

39 def values(self): 

40 raise NotImplementedError 

41 

42 def items(self): 

43 raise NotImplementedError 

44 

45 def pop(self, *args): 

46 raise NotImplementedError 

47 

48 def __cmp__(self, dict_): 

49 raise NotImplementedError 

50 

51 def __contains__(self, item): 

52 raise NotImplementedError 

53 

54 def __iter__(self): 

55 raise NotImplementedError 

56 

57 def __unicode__(self): 

58 raise NotImplementedError