Skip to content

Commit d72940c

Browse files
committed
Fix gregmalcolm#98. Exclude extra credit from lesson_pass_count.
1 parent 91400f0 commit d72940c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python2/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)