changeset 32982 | 573baab2a797 |
parent 32981 | 02bca6dc5f41 |
child 33115 | fa9a90d5ad89 |
--- a/tests/run-tests.py Wed Jun 21 01:12:31 2017 -0700 +++ b/tests/run-tests.py Wed Jun 21 01:12:31 2017 -0700 @@ -1605,7 +1605,7 @@ self.stream.write('Accept this change? [n] ') answer = sys.stdin.readline().strip() if answer.lower() in ('y', 'yes'): - if test.name.endswith('.t'): + if test.path.endswith(b'.t'): rename(test.errpath, test.path) else: rename(test.errpath, '%s.out' % test.path)