diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-03-02 12:40:32 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-03-02 12:40:32 +0000 |
commit | e40eb392e8445546346d60a259749b9d55594044 (patch) | |
tree | d26abf5364c76ca1a7887febc3458c57ed21c2d3 /dev-python/nose/files | |
parent | Version bump. (diff) | |
download | gentoo-2-e40eb392e8445546346d60a259749b9d55594044.tar.gz gentoo-2-e40eb392e8445546346d60a259749b9d55594044.tar.bz2 gentoo-2-e40eb392e8445546346d60a259749b9d55594044.zip |
Added skiptest.patch for 1.2.1 versions skipping tests set to fail, wrt Bug #455104
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/nose/files')
-rw-r--r-- | dev-python/nose/files/nose-1.2.1-skiptest.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/nose/files/nose-1.2.1-skiptest.patch b/dev-python/nose/files/nose-1.2.1-skiptest.patch new file mode 100644 index 000000000000..b8f7a57f4da8 --- /dev/null +++ b/dev-python/nose/files/nose-1.2.1-skiptest.patch @@ -0,0 +1,23 @@ +Tests are set to compulsory fail, cannot be set to expectedFailure +diff -ur nose-1.2.1.orig/functional_tests/test_program.py nose-1.2.1/functional_tests/test_program.py +--- functional_tests/test_program.py 2011-12-14 22:01:38.000000000 +0800 ++++ functional_tests/test_program.py 2013-03-02 14:50:28.628004408 +0800 +@@ -1,5 +1,8 @@ +-import os +-import unittest ++import os, sys ++if sys.version_info[:2] == (2, 7) or hasattr(sys, 'pypy_version_info'): ++ import unittest ++else: ++ import unittest2 as unittest + from cStringIO import StringIO + from nose import SkipTest + from nose.core import TestProgram +@@ -91,6 +91,7 @@ + assert not res.errors + assert not res.failures + ++ @unittest.skip("tests set to exit with compulsory fail, error") + def test_run_support_twist(self): + """Collect and run tests in functional/support/twist + |