From 5898e76b7df7202f7071223472eff4bd6d855384 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Mon, 3 Feb 2014 13:58:37 +0400 Subject: [PATCH] fixed PY-11916 PyCharm nose helper causes DeprecationWarning --- python/helpers/pycharm/nose_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/helpers/pycharm/nose_utils.py b/python/helpers/pycharm/nose_utils.py index 9a6d68251cb3..a7efa08d4f4e 100644 --- a/python/helpers/pycharm/nose_utils.py +++ b/python/helpers/pycharm/nose_utils.py @@ -116,7 +116,7 @@ class TeamcityPlugin(ErrorClassPlugin, TextTestResult, TeamcityTestResult): suite = strclass(test.__class__) suite_location = "python_nosetestid://" + suite try: - from nose_helper.util import func_lineno + from nose.util import func_lineno if hasattr(test.test, "descriptor") and test.test.descriptor: suite_location = "file://" + self.test_address(