From 712e7a8ae430992fa129d0a08143d154fb77c692 Mon Sep 17 00:00:00 2001 From: Nicolai Moore Date: Fri, 29 Mar 2019 09:53:49 +1000 Subject: [PATCH] Removed the warnings as DeprecationWarning is builtin --- PageObjectLibrary/pageobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PageObjectLibrary/pageobject.py b/PageObjectLibrary/pageobject.py index 4ca44af..30b0277 100644 --- a/PageObjectLibrary/pageobject.py +++ b/PageObjectLibrary/pageobject.py @@ -63,7 +63,7 @@ def __init__(self): # test (eg: by libdoc, robotframework-hub, etc) @property def se2lib(self): - warnings.warn("se2lib is deprecated. Use selib intead.", warnings.DeprecationWarning) + warnings.warn("se2lib is deprecated. Use selib intead.", DeprecationWarning) return self.selib @property