From f399508d46c48b4ebaecb686833801954d4e383f Mon Sep 17 00:00:00 2001 From: cahrens Date: Tue, 25 Oct 2016 15:24:18 -0400 Subject: [PATCH] Fix pylint issue to get under threshold. --- common/lib/capa/capa/tests/test_shuffle.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/lib/capa/capa/tests/test_shuffle.py b/common/lib/capa/capa/tests/test_shuffle.py index ff5c99c10e..105f9940b8 100644 --- a/common/lib/capa/capa/tests/test_shuffle.py +++ b/common/lib/capa/capa/tests/test_shuffle.py @@ -194,7 +194,10 @@ class CapaShuffleTest(unittest.TestCase): """) problem = new_loncapa_problem(xml_str, seed=0) the_html = problem.get_html() - self.assertRegexpMatches(the_html, r"
.*\[.*'Alpha'.*'Beta'.*'B'.*'A'.*'C'.*'D'.*'Psi'.*'Omega'.*\].*
") + self.assertRegexpMatches( + the_html, + r"
.*\[.*'Alpha'.*'Beta'.*'B'.*'A'.*'C'.*'D'.*'Psi'.*'Omega'.*\].*
" + ) def test_shuffle_fixed_both_ends_thin(self): xml_str = textwrap.dedent("""