Coverage for /private/var/folders/53/n5c47bdn50191t_m0g6kvthc0000gn/T/pytest-of-niclasvaneyk/pytest-22/test_works_for_manually_emitted_warning0/test_works_for_manually_emitted_warning.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-04-03 22:19 +0200

1import warnings 

2 

3def test_no_warning(): 

4 assert 1 == 1 

5 

6def test_has_warning(): 

7 warnings.warn("beware!")