##// END OF EJS Templates
tests: add a comment that we're purposely testing py2 extension attributes...
Matt Harbison -
r46560:250e1843 default
parent child Browse files
Show More
@@ -1423,7 +1423,8 b' No declared supported version, extension'
1423 ** Mercurial Distributed SCM * (glob)
1423 ** Mercurial Distributed SCM * (glob)
1424 ** Extensions loaded: throw
1424 ** Extensions loaded: throw
1425
1425
1426 empty declaration of supported version, extension complains:
1426 empty declaration of supported version, extension complains (but doesn't choke if
1427 the value is improperly a str instead of bytes):
1427 $ echo "testedwith = ''" >> throw.py
1428 $ echo "testedwith = ''" >> throw.py
1428 $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
1429 $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
1429 ** Unknown exception encountered with possibly-broken third-party extension throw
1430 ** Unknown exception encountered with possibly-broken third-party extension throw
@@ -1434,7 +1435,8 b' empty declaration of supported version, '
1434 ** Mercurial Distributed SCM (*) (glob)
1435 ** Mercurial Distributed SCM (*) (glob)
1435 ** Extensions loaded: throw
1436 ** Extensions loaded: throw
1436
1437
1437 If the extension specifies a buglink, show that:
1438 If the extension specifies a buglink, show that (but don't choke if the value is
1439 improperly a str instead of bytes):
1438 $ echo 'buglink = "http://example.com/bts"' >> throw.py
1440 $ echo 'buglink = "http://example.com/bts"' >> throw.py
1439 $ rm -f throw.pyc throw.pyo
1441 $ rm -f throw.pyc throw.pyo
1440 $ rm -Rf __pycache__
1442 $ rm -Rf __pycache__
General Comments 0
You need to be logged in to leave comments. Login now