Skip to content

Commit

Permalink
[fixup] remove unnecessary commented function
Browse files Browse the repository at this point in the history
  • Loading branch information
FiloSottile committed Oct 5, 2013
1 parent 00fcc17 commit 8932a66
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ def trouble(self, s, tb=None):
raise Exception(s)
def download(self, x):
self.result.append(x)
# def expect_warning(self, regex):
# # Silence an expected warning matching a regex
# def report_warning(self, message):
# if re.match(regex, message): return
# super(FakeYDL, self).report_warning(regex)
# self.report_warning = types.MethodType(report_warning, self)
def expect_warning(self, regex):
# Silence an expected warning matching a regex
old_report_warning = self.report_warning
Expand Down

0 comments on commit 8932a66

Please sign in to comment.