##// END OF EJS Templates
run-tests: make sure keyword(s) are in bytes and not str
Augie Fackler -
r25050:28526bb5 default
parent child Browse files
Show More
@@ -1823,13 +1823,16 class TestRunner(object):
1823
1823
1824 failed = False
1824 failed = False
1825 warned = False
1825 warned = False
1826 kws = self.options.keywords
1827 if kws is not None and sys.version_info[0] == 3:
1828 kws = kws.encode('utf-8')
1826
1829
1827 suite = TestSuite(self._testdir,
1830 suite = TestSuite(self._testdir,
1828 jobs=self.options.jobs,
1831 jobs=self.options.jobs,
1829 whitelist=self.options.whitelisted,
1832 whitelist=self.options.whitelisted,
1830 blacklist=self.options.blacklist,
1833 blacklist=self.options.blacklist,
1831 retest=self.options.retest,
1834 retest=self.options.retest,
1832 keywords=self.options.keywords,
1835 keywords=kws,
1833 loop=self.options.loop,
1836 loop=self.options.loop,
1834 runs_per_test=self.options.runs_per_test,
1837 runs_per_test=self.options.runs_per_test,
1835 tests=tests, loadtest=self._gettest)
1838 tests=tests, loadtest=self._gettest)
General Comments 0
You need to be logged in to leave comments. Login now