[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] ciabot test fails
From: |
Thomas Keller |
Subject: |
[Monotone-devel] ciabot test fails |
Date: |
Mon, 14 Mar 2011 00:30:59 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.2.13) Gecko/20101129 Lightning/1.0b3pre Thunderbird/3.1.7 |
Hey there!
The ciabot test fails for me in line 45, because my oldish Python
(2.5.5) throws a deprecation warning and the test assumes that stderr is
zero:
./extra/mtn-hooks/monotone-ciabot.py:113: Warning: 'with' will become a
reserved keyword in Python 2.6
File "./extra/mtn-hooks/monotone-ciabot.py", line 113
with open(config_file) as f:
^
SyntaxError: invalid syntax
So either we work around this issue by replacing the offending code or
we skip the test in case the Python version is < 2.6.
Opinions?
Thomas.
--
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
signature.asc
Description: OpenPGP digital signature
- [Monotone-devel] ciabot test fails,
Thomas Keller <=