From 68150f281400bb91aeaa012ea23a45f9b447d39c Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sat, 19 Jul 2014 10:36:31 +0900 Subject: [PATCH] fix module name of integration tests for Windows --- test/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run.py b/test/run.py index d912d634..12aa520e 100755 --- a/test/run.py +++ b/test/run.py @@ -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):