diff --git a/u5/kindergarten_garden.py b/u5/kindergarten_garden.py index bdf882c..3f451af 100644 --- a/u5/kindergarten_garden.py +++ b/u5/kindergarten_garden.py @@ -1,4 +1,4 @@ -class NoSuchStudentIsFound(Exception): +class NoSuchStudentException(Exception): pass @@ -28,7 +28,7 @@ class Garden(): def plants(self, students_name : str): if students_name not in self.students: - raise NoSuchStudentIsFound(f"Učeň {student_name} neexistuje v tomto záhone.") + raise NoSuchStudentException(f"Učeň {student_name} neexistuje v tomto záhone.") student_index = self.students.index(students_name)