Skip to content
Snippets Groups Projects
Unverified Commit e2893261 authored by Ayub's avatar Ayub Committed by GitHub
Browse files

Merge pull request #21991 from edx/BOM-905

BOM-905 test_graders.py tests fixed
parents 732dfce1 3a760435
No related merge requests found
......@@ -9,6 +9,7 @@ from datetime import datetime, timedelta
import ddt
from pytz import UTC
import six
from six import text_type
from lms.djangoapps.grades.scores import compute_percent
......@@ -316,7 +317,8 @@ class GraderTest(unittest.TestCase):
(
# no drop_count
{'type': "Homework", 'min_count': 0},
u"__init__() takes at least 4 arguments (3 given)"
# pylint: disable=line-too-long
u"__init__() takes at least 4 arguments (3 given)" if six.PY2 else u"__init__() missing 1 required positional argument: 'drop_count'"
),
)
@ddt.unpack
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment