()
| 22 | |
| 23 | |
| 24 | def test_next_higher() -> None: |
| 25 | assert Scope.Function.next_higher() is Scope.Class |
| 26 | assert Scope.Class.next_higher() is Scope.Module |
| 27 | assert Scope.Module.next_higher() is Scope.Package |
| 28 | assert Scope.Package.next_higher() is Scope.Session |
| 29 | |
| 30 | with pytest.raises(ValueError, match="Session is the upper-most scope"): |
| 31 | Scope.Session.next_higher() |
| 32 | |
| 33 | |
| 34 | def test_from_user() -> None: |
nothing calls this directly
no test coverage detected