$ make check PYTHONPATH=/home/robertc/personal/testtools python -m testtools.run testtools.tests.test_suite Tests running... ====================================================================== ERROR: testtools.tests.test_compat.TestDetectEncoding.test_bom ---------------------------------------------------------------------- Traceback (most recent call last): File "./testtools/tests/test_compat.py", line 116, in test_bom '"""Module docstring say \xe2\x98\x86"""\n')) File "./testtools/tests/test_compat.py", line 43, in _check_encoding compile(_b("".join(lines)), "<str>", "exec") File "<str>", line 0 SyntaxError: encoding problem: euc-jp with BOM
Ran 1163 tests in 0.164s FAILED (failures=1) make: *** [check] Error 1 (testtools-3.3.2-saucy-64)robertc@saucy-64:~/personal/testtools$ python --version Python 3.3.2+
A saucy 64 bit lxc container should reproduce this.
$ make check /home/robertc/ personal/ testtools python -m testtools.run testtools. tests.test_ suite ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ compat. TestDetectEncod ing.test_ bom ------- ------- ------- ------- ------- ------- ------- ------- ------- tests/test_ compat. py", line 116, in test_bom x86"""\ n')) tests/test_ compat. py", line 43, in _check_encoding _b("".join( lines)) , "<str>", "exec")
PYTHONPATH=
Tests running...
=======
ERROR: testtools.
-------
Traceback (most recent call last):
File "./testtools/
'"""Module docstring say \xe2\x98\
File "./testtools/
compile(
File "<str>", line 0
SyntaxError: encoding problem: euc-jp with BOM
Ran 1163 tests in 0.164s 3.3.2-saucy- 64)robertc@ saucy-64: ~/personal/ testtools$ python --version
FAILED (failures=1)
make: *** [check] Error 1
(testtools-
Python 3.3.2+
A saucy 64 bit lxc container should reproduce this.