Skip to content

Commit 6aee95a

Browse files
committed
Exclude extra credit from lesson pass count in python3 version
1 parent d72940c commit 6aee95a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python3/runner/sensei.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def startTest(self, test):
3333
self.stream.writeln()
3434
self.stream.writeln("{0}{1}Thinking {2}".format(
3535
Fore.RESET, Style.NORMAL, helper.cls_name(test)))
36-
if helper.cls_name(test) != 'AboutAsserts':
36+
if helper.cls_name(test) not in ['AboutAsserts', 'AboutExtraCredit']:
3737
self.lesson_pass_count += 1
3838

3939
def addSuccess(self, test):

0 commit comments

Comments
 (0)