Fix #1826: include test_completion.sh in sdist

This commit is contained in:
Adrian Sampson 2016-01-22 15:25:43 -08:00
parent a18d0e4b3b
commit a07cb837aa
2 changed files with 1 additions and 3 deletions

View file

@ -1080,9 +1080,7 @@ class CompletionTest(_common.TestCase):
tester.stdin.writelines(completion_script)
# Load test suite.
test_script = os.path.join(
os.path.dirname(__file__), 'test_completion.sh'
)
test_script = os.path.join(_common.RSRC, 'test_completion.sh')
with open(test_script, 'r') as test_script:
tester.stdin.writelines(test_script)
(out, err) = tester.communicate()