Skip to content

Commit 2076909

Browse files
authored
Update test.py
1 parent 1d7bcbd commit 2076909

File tree

1 file changed

+2
-2
lines changed
  • exercises/042-understanding_classes

1 file changed

+2
-2
lines changed

exercises/042-understanding_classes/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def test_student_has_introduce_method():
3232
def test_student_introduce_method_returns_expected_string():
3333
student1 = Student("Alice", 22, 90)
3434
student2 = Student("Bob", 19, 85)
35-
assert student1.introduce() == "Hello! I am Alice, I am 22 years old, and my current grade is 90"
36-
assert student2.introduce() == "Hello! I am Bob, I am 19 years old, and my current grade is 85"
35+
assert student1.introduce() == "Hello! I am Alice, I am 22 years old, and my current grade is 90."
36+
assert student2.introduce() == "Hello! I am Bob, I am 19 years old, and my current grade is 85."
3737

3838
@pytest.mark.it("The Student class includes the 'study' method")
3939
def test_student_has_study_method():

0 commit comments

Comments
 (0)