diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/command_source')
-rw-r--r-- | packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py | 7 | ||||
-rw-r--r-- | packages/Python/lldbsuite/test/functionalities/command_source/my.py | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py b/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py index 0d4eb0776e79e..cee9bd2721895 100644 --- a/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py +++ b/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py @@ -7,13 +7,14 @@ See also http://llvm.org/viewvc/llvm-project?view=rev&revision=109673. from __future__ import print_function - -import os, sys +import os +import sys import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil + class CommandSourceTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) @@ -35,4 +36,4 @@ class CommandSourceTestCase(TestBase): import datetime self.expect(result.GetOutput(), "script my.date() runs successfully", exe=False, - substrs = [str(datetime.date.today())]) + substrs=[str(datetime.date.today())]) diff --git a/packages/Python/lldbsuite/test/functionalities/command_source/my.py b/packages/Python/lldbsuite/test/functionalities/command_source/my.py index cb2fd012e4bdb..bd97fda3cbbf1 100644 --- a/packages/Python/lldbsuite/test/functionalities/command_source/my.py +++ b/packages/Python/lldbsuite/test/functionalities/command_source/my.py @@ -1,5 +1,6 @@ from __future__ import print_function + def date(): import datetime today = datetime.date.today() |