From 0e4612221b2cc0efb206d215bf17d38594f2021d Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Sun, 9 Nov 2014 16:47:13 +0300 Subject: [PATCH] fixed PY-11911 Nosetests: test name gets trimmed if it starts with module name in which test is located. --- python/helpers/pycharm/nose_utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/helpers/pycharm/nose_utils.py b/python/helpers/pycharm/nose_utils.py index a7efa08d4f4e..fd163f6c96af 100644 --- a/python/helpers/pycharm/nose_utils.py +++ b/python/helpers/pycharm/nose_utils.py @@ -86,9 +86,6 @@ class TeamcityPlugin(ErrorClassPlugin, TextTestResult, TeamcityTestResult): ind_1 = test_name_full.rfind('(') if ind_1 != -1: return test_name_full[:ind_1] - ind = test_name_full.rfind('.') - if ind != -1: - return test_name_full[test_name_full.rfind(".") + 1:] return test_name_full