Update test_stack_pop_empty function using pytest.raises(Exception)