diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2013-10-05 16:38:37 -0400 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2013-10-05 16:38:37 -0400 |
commit | 8932a66e49dda60bdb6ddb1447df63fea5c4f320 (patch) | |
tree | f1f287ccc0c1c3d86d21e9ed627bc797f013af86 /test | |
parent | 00fcc17aeeab11ce694699bf183d33a3af75aab6 (diff) |
[fixup] remove unnecessary commented function
Diffstat (limited to 'test')
-rw-r--r-- | test/helper.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/helper.py b/test/helper.py index 63f56841f..8e641e3cb 100644 --- a/test/helper.py +++ b/test/helper.py @@ -34,12 +34,6 @@ class FakeYDL(YoutubeDL): 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 |