()
| 12 | |
| 13 | |
| 14 | def test_next_lower() -> None: |
| 15 | assert Scope.Session.next_lower() is Scope.Package |
| 16 | assert Scope.Package.next_lower() is Scope.Module |
| 17 | assert Scope.Module.next_lower() is Scope.Class |
| 18 | assert Scope.Class.next_lower() is Scope.Function |
| 19 | |
| 20 | with pytest.raises(ValueError, match="Function is the lower-most scope"): |
| 21 | Scope.Function.next_lower() |
| 22 | |
| 23 | |
| 24 | def test_next_higher() -> None: |
nothing calls this directly
no test coverage detected