Skip to content

Commit

Permalink
Add Python 3.6 to show warnings error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney committed Dec 27, 2016
1 parent 0f12696 commit 6eda4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcloud/test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
from io import FileIO as file


def show_warning(msg, cat, fname, lno, line=None):
def show_warning(msg, cat, fname, lno, file=None, line=None):
WARNINGS_BUFFER.append((msg, cat, fname, lno))

original_func = warnings.showwarning
Expand Down

0 comments on commit 6eda4e9

Please sign in to comment.