mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
fix module name of integration tests for Windows
This commit is contained in:
@@ -139,7 +139,7 @@ class IntegrationTestCase(object):
|
||||
|
||||
@property
|
||||
def module_name(self):
|
||||
return re.sub('.*/|\.py$', '', self.path)
|
||||
return os.path.splitext(os.path.basename(self.path))[0]
|
||||
|
||||
@property
|
||||
def line_nr_test(self):
|
||||
|
||||
Reference in New Issue
Block a user