Hello, Just wondering why this test seem to have passed in 0.10.6-3 (sid) and not any more ? As this test is failing on most arch, shouldn't we disable it ? Thanks
On Sat, 29 Jul 2017 12:43:02 +0300 Adrian Bunk <b...@debian.org> wrote: > Source: qtile > Version: 0.10.7-2 > Severity: serious > > https://buildd.debian.org/status/package.php?p=qtile&suite=sid > > ... > =================================== FAILURES > =================================== > ____________________ test_thermalsensor_regex_compatibility > ____________________ > > def test_thermalsensor_regex_compatibility(): > > sensors = ThermalSensor() > > test/test_widget.py:62: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > libqtile/widget/sensors.py:73: in __init__ > temp_values = self.get_temp_sensors() > libqtile/utils.py:202: in wrapper > return_value = func(*args, **kwargs) > libqtile/widget/sensors.py:93: in get_temp_sensors > sensors_out = self.call_process(command) > libqtile/widget/base.py:262: in call_process > output = subprocess.check_output(command, **kwargs) > /usr/lib/python3.6/subprocess.py:336: in check_output > **kwargs).stdout > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > input = None, timeout = None, check = True, popenargs = (['sensors'],) > kwargs = {'stdout': -1}, process = <subprocess.Popen object at 0xffff895af240> > stdout = b'', stderr = None, retcode = 1 > > def run(*popenargs, input=None, timeout=None, check=False, **kwargs): > """Run command with arguments and return a CompletedProcess instance. > > The returned instance will have attributes args, returncode, stdout > and > stderr. By default, stdout and stderr are not captured, and those > attributes > will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture > them. > > If check is True and the exit code was non-zero, it raises a > CalledProcessError. The CalledProcessError object will have the > return code > in the returncode attribute, and output & stderr attributes if those > streams > were captured. > > If timeout is given, and the process takes too long, a TimeoutExpired > exception will be raised. > > There is an optional argument "input", allowing you to > pass a string to the subprocess's stdin. If you use this argument > you may not also use the Popen constructor's "stdin" argument, as > it will be used internally. > > The other arguments are the same as for the Popen constructor. > > If universal_newlines=True is passed, the "input" argument must be a > string and stdout/stderr in the returned object will be strings > rather than > bytes. > """ > if input is not None: > if 'stdin' in kwargs: > raise ValueError('stdin and input arguments may not both be > used.') -- Thierry Fauck @ fr.ibm.com