forked from OSchip/llvm-project
The skipOnLinux decorator wasn't calling the test method correctly (no need to pass in the "self") resulting
in errors on MacOS X for the tests so decorated. llvm-svn: 168662
This commit is contained in:
parent
ac997e963f
commit
9732e08a4d
|
@ -443,7 +443,7 @@ def skipOnLinux(func):
|
||||||
if "linux" in platform:
|
if "linux" in platform:
|
||||||
self.skipTest("skip on linux")
|
self.skipTest("skip on linux")
|
||||||
else:
|
else:
|
||||||
func(self, *args, **kwargs)
|
func(*args, **kwargs)
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
class Base(unittest2.TestCase):
|
class Base(unittest2.TestCase):
|
||||||
|
|
Loading…
Reference in New Issue