##// 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 1824 failed = False
1825 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 1830 suite = TestSuite(self._testdir,
1828 1831 jobs=self.options.jobs,
1829 1832 whitelist=self.options.whitelisted,
1830 1833 blacklist=self.options.blacklist,
1831 1834 retest=self.options.retest,
1832 keywords=self.options.keywords,
1835 keywords=kws,
1833 1836 loop=self.options.loop,
1834 1837 runs_per_test=self.options.runs_per_test,
1835 1838 tests=tests, loadtest=self._gettest)
General Comments 0
You need to be logged in to leave comments. Login now