summaryrefslogtreecommitdiff
path: root/python/subunit/tests/test_subunit_filter.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/subunit/tests/test_subunit_filter.py')
-rw-r--r--python/subunit/tests/test_subunit_filter.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/subunit/tests/test_subunit_filter.py b/python/subunit/tests/test_subunit_filter.py
index 95aea36..507bcb7 100644
--- a/python/subunit/tests/test_subunit_filter.py
+++ b/python/subunit/tests/test_subunit_filter.py
@@ -304,10 +304,7 @@ xfail todo
class TestFilterCommand(TestCase):
def run_command(self, args, stream):
- root = os.path.dirname(
- os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
- script_path = os.path.join(root, 'filters', 'subunit-filter')
- command = [sys.executable, script_path] + list(args)
+ command = ['subunit-filter'] + list(args)
ps = subprocess.Popen(
command, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)