fixed PY-11916 PyCharm nose helper causes DeprecationWarning

This commit is contained in:
Ekaterina Tuzova
2014-02-03 13:58:37 +04:00
parent e96a71e8b7
commit 5898e76b7d
+1 -1
View File
@@ -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(