Skip to content

Commit

Permalink
Fix instance of E741 violation
Browse files Browse the repository at this point in the history
  • Loading branch information
dlstadther committed Oct 31, 2017
1 parent bc2d3e7 commit fe65903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parameter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,11 +873,11 @@ def complete(self):
def testListWithNamespaceCli(self):
class A(luigi.Task):
task_namespace = 'mynamespace'
l = luigi.ListParameter(default=[1, 2, 3])
l_param = luigi.ListParameter(default=[1, 2, 3])
expected = luigi.ListParameter()

def complete(self):
if self.l != self.expected:
if self.l_param != self.expected:
raise ValueError
return True

Expand Down

0 comments on commit fe65903

Please sign in to comment.