On 03/03/2014 07:10 PM, Barry Warsaw wrote: > > What happens if you `pip install -U zope.interface` in the virtualenv?
I don't know what was wrong, but I started over. I removed the virtualenv and then did virtualenv --system-site-packages /var/py27 source /var/py27/bin/activate pip install -U zope.interface cd /var/MM/3.0 (my MM 3 directory) python setup.py develop nose2 -v and this time all was well except two tests failed. The only thing I can think of is at one point, not realizing this was a 32-bit OS, I rsync'd the virtualenv from the 64-bit machine. I thought I had cleaned that all up, but there may have been some .pyc or ?? left. Anyway, it appears this was my fault in not setting up the virtualenv properly somehow. Regarding the failed tests, they seem to possibly be test issues rather than core issues, but the interesting thing is they don't fail on the other machine. Possibly there's a race condition. Also, if I just run the failing tests (and one other) with nose2 -v -P "users.rst|inject.rst" they don't fail. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
====================================================================== FAIL: /var/MM/3.0/src/mailman/commands/docs/inject.rst ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 2201, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for inject.rst File "/var/MM/3.0/src/mailman/commands/docs/inject.rst", line 0 ---------------------------------------------------------------------- File "/var/MM/3.0/src/mailman/commands/docs/inject.rst", line 29, in inject.rst Failed example: command.process(args) Differences (ndiff with -expected +actual): Available queues: archive bad bounces command digest in nntp out pipeline retry shunt + test virgin ====================================================================== FAIL: /var/MM/3.0/src/mailman/model/docs/users.rst ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 2201, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for users.rst File "/var/MM/3.0/src/mailman/model/docs/users.rst", line 0 ---------------------------------------------------------------------- File "/var/MM/3.0/src/mailman/model/docs/users.rst", line 276, in users.rst Failed example: getUtility(ILanguageManager).add('it', 'iso-8859-1', 'Italian') Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "<doctest users.rst[74]>", line 1, in <module> getUtility(ILanguageManager).add('it', 'iso-8859-1', 'Italian') File "/var/MM/3.0/src/mailman/languages/manager.py", line 48, in add raise ValueError('Language code already registered: ' + code) ValueError: Language code already registered: it ---------------------------------------------------------------------- Ran 611 tests in 291.114s FAILED (failures=2)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9