You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/12/27 20:28:32 UTC

[3/4] libcloud git commit: Add Python 3.6 to show warnings error message

Add Python 3.6 to show warnings error message


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/6eda4e90
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6eda4e90
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6eda4e90

Branch: refs/heads/trunk
Commit: 6eda4e90fe93e8c3454725ab02c2a8eb507f2337
Parents: 0f12696
Author: Anthony Shaw <an...@apache.org>
Authored: Wed Dec 28 07:21:20 2016 +1100
Committer: Anthony Shaw <an...@apache.org>
Committed: Wed Dec 28 07:21:20 2016 +1100

----------------------------------------------------------------------
 libcloud/test/test_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/6eda4e90/libcloud/test/test_utils.py
----------------------------------------------------------------------
diff --git a/libcloud/test/test_utils.py b/libcloud/test/test_utils.py
index 4c1b6c0..dd9c2d2 100644
--- a/libcloud/test/test_utils.py
+++ b/libcloud/test/test_utils.py
@@ -53,7 +53,7 @@ if PY3:
     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