Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/nbformat/warnings.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-07-01 06:54 +0000

1""" 

2Warnings that can be emitted by nbformat. 

3""" 

4 

5 

6class MissingIDFieldWarning(FutureWarning): 

7 """ 

8 

9 This warning is emitted in the validation step of nbformat as we used to 

10 mutate the structure which is cause signature issues. 

11 

12 This will be turned into an error at later point. 

13 

14 We subclass FutureWarning as we will change the behavior in the future. 

15 

16 """ 

17 

18 pass 

19 

20 

21class DuplicateCellId(FutureWarning): 

22 """ 

23 

24 This warning is emitted in the validation step of nbformat as we used to 

25 mutate the structure which is cause signature issues. 

26 

27 This will be turned into an error at later point. 

28 

29 We subclass FutureWarning as we will change the behavior in the future. 

30 """ 

31 

32 pass