From 1918627d93a315147128666e0c99b3b1cc9aee69 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Wed, 24 Oct 2012 21:44:48 +0000 Subject: [PATCH] Reverting unwanted changes to the test suite llvm-svn: 166627 --- .../call-function/TestCallStdStringFunction.py | 2 +- lldb/test/lldbtest.py | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py index a6541ad7b0bb..05d1c79332e2 100644 --- a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py +++ b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py @@ -9,7 +9,7 @@ from lldbtest import * class ExprCommandCallFunctionTestCase(TestBase): - mydir = os.path.join("expressioa_command", "call-function") + mydir = os.path.join("expression_command", "call-function") def setUp(self): # Call super's setUp(). diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index 22097b37040f..ea5a2a631dda 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -417,18 +417,9 @@ class Base(unittest2.TestCase): accomplish things. """ - mydir_ = None - @classmethod - def mydir_get(cls): - return cls.mydir_ - - @classmethod - def mydir_set(cls,val): - print "mydir_set" - cls.mydir_ = val - - Base.mydir = property(mydir_get,mydir_set) + # The concrete subclass should override this attribute. + mydir = None # Keep track of the old current working directory. oldcwd = None