Hello community, here is the log from the commit of package python3-nose for openSUSE:Factory checked in at 2014-05-10 08:32:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-nose (Old) and /work/SRC/openSUSE:Factory/.python3-nose.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-nose" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-nose/python3-nose-doc.changes 2014-04-20 11:35:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-nose.new/python3-nose-doc.changes 2014-05-10 08:32:38.000000000 +0200 @@ -1,0 +2,15 @@ +Thu May 8 11:27:40 UTC 2014 - [email protected] + +- update to 1.3.3: + - 1.3.3 fixes a simple issue with the reported version number. +- update to 1.3.2: + - Fixed an issue where build_ext was not working under setup.py nosetest + - Fixed #786: generator method fails with callable instance + - Fixed a traceback when using string exceptions + - Fixed #792: "Not a directory" error when using python setup.py nosetests + - Fixed #779: xunit report file is written in --where directory + - Fixed #782: Test failures with Python >= 3.3 + - Fixed #780: Fix a regression with Python 3 + - Fixed #783: try_run is broken with Python 3.4 + +------------------------------------------------------------------- python3-nose.changes: same change Old: ---- nose-1.3.1.tar.gz New: ---- nose-1.3.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-nose-doc.spec ++++++ --- /var/tmp/diff_new_pack.fYFUvr/_old 2014-05-10 08:32:39.000000000 +0200 +++ /var/tmp/diff_new_pack.fYFUvr/_new 2014-05-10 08:32:39.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-nose-doc -Version: 1.3.1 +Version: 1.3.3 Release: 0 Url: http://readthedocs.org/docs/nose/ Summary: Nose extends unittest to make testing easier ++++++ python3-nose.spec ++++++ --- /var/tmp/diff_new_pack.fYFUvr/_old 2014-05-10 08:32:39.000000000 +0200 +++ /var/tmp/diff_new_pack.fYFUvr/_new 2014-05-10 08:32:39.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-nose -Version: 1.3.1 +Version: 1.3.3 Release: 0 Url: http://readthedocs.org/docs/nose/ Summary: Nose extends unittest to make testing easier @@ -33,7 +33,7 @@ BuildRequires: python3-xml %endif #Test requirements: -BuildRequires: python-coverage +BuildRequires: python3-coverage Requires: python3-setuptools %if 0%{?suse_version} <= 1220 Requires: python3-2to3 ++++++ nose-1.3.1.tar.gz -> nose-1.3.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/CHANGELOG new/nose-1.3.3/CHANGELOG --- old/nose-1.3.1/CHANGELOG 2014-03-10 18:12:18.000000000 +0100 +++ new/nose-1.3.3/CHANGELOG 2014-05-06 11:53:59.000000000 +0200 @@ -1,3 +1,17 @@ +1.3.2 + +- Fixed an issue where build_ext was not working under setup.py nosetest + Patch by Michael Crusoe +- Fixed #786: generator method fails with callable instance + Patch by Antoine Dechaume +- Fixed a traceback when using string exceptions +- Fixed #792: "Not a directory" error when using python setup.py nosetests +- Fixed #779: xunit report file is written in --where directory +- Fixed #782: Test failures with Python >= 3.3 + Patch by Dmitry Shachnev +- Fixed #780: Fix a regression with Python 3 +- Fixed #783: try_run is broken with Python 3.4 + 1.3.1 - The log capture plugin now correctly applies filters that were added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/NEWS new/nose-1.3.3/NEWS --- old/nose-1.3.1/NEWS 2014-03-10 18:12:18.000000000 +0100 +++ new/nose-1.3.3/NEWS 2014-05-06 11:53:59.000000000 +0200 @@ -1,17 +1,11 @@ -1.3.1 +1.3.3 ----- -It's been nearly a year since the last release, and this one brings -about 30+ fixes--a couple of the big ones include better Unicode -support when capturing output and compatibility with Python 3.4. -Thank you to all those who contributed to this release, and a special -thanks goes to Thomas Kluyver for all the code reviews and insights -while sorting out Unicode-related issues. See the CHANGELOG for the -details of what was fixed and the person to thank for fixing it. +1.3.3 fixes a simple issue with the reported version number. -It's also time to acknowledge that nose 1.x is in maintenance mode. -We will not be looking to add any real features, and you should -seriously consider looking at nose2 as the way forward. +Also note that nose 1.x is in maintenance mode. We will not be +looking to add any features, and you should seriously consider +looking at nose2 as the way forward. If you're interested in the future of nose, please take a look at the nose2 project on github (https://github.com/nose-devs/nose2) or pypi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/PKG-INFO new/nose-1.3.3/PKG-INFO --- old/nose-1.3.1/PKG-INFO 2014-03-10 22:44:12.000000000 +0100 +++ new/nose-1.3.3/PKG-INFO 2014-05-06 11:54:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: nose -Version: 1.3.1 +Version: 1.3.3 Summary: nose extends unittest to make testing easier Home-page: http://readthedocs.org/docs/nose/ Author: Jason Pellerin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/doc/index.rst new/nose-1.3.3/doc/index.rst --- old/nose-1.3.1/doc/index.rst 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/doc/index.rst 2014-05-06 11:53:59.000000000 +0200 @@ -62,7 +62,7 @@ Additionally, if your project is using `2to3 <http://docs.python.org/library/2to3.html>`_, ``python3 setup.py nosetests`` -command will automatically convert your sources with 2to3 and then the +command will automatically convert your sources with 2to3 and then run the tests with python 3. .. warning :: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/functional_tests/support/string-exception/test.py new/nose-1.3.3/functional_tests/support/string-exception/test.py --- old/nose-1.3.1/functional_tests/support/string-exception/test.py 1970-01-01 01:00:00.000000000 +0100 +++ new/nose-1.3.3/functional_tests/support/string-exception/test.py 2014-05-06 11:53:59.000000000 +0200 @@ -0,0 +1,30 @@ +import unittest +import warnings + +warnings.filterwarnings('ignore', category=DeprecationWarning, + module='test') + + +def test_string_exc(): + raise "string exception" + + +class TestStringExceptionInSetup(unittest.TestCase): + def setUp(self): + raise "string exception in setup" + + def testNothing(self): + pass + + +class TestStringExceptionInTeardown(unittest.TestCase): + def tearDown(self): + raise "string exception in teardown" + + def testNothing(self): + pass + + +class TestStringExceptionInClass(unittest.TestCase): + def testStringExc(self): + raise "string exception in test" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/functional_tests/test_coverage_plugin.py new/nose-1.3.3/functional_tests/test_coverage_plugin.py --- old/nose-1.3.1/functional_tests/test_coverage_plugin.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/functional_tests/test_coverage_plugin.py 2014-05-06 11:53:59.000000000 +0200 @@ -4,6 +4,7 @@ import unittest import shutil +from nose.exc import SkipTest from nose.plugins import PluginTester from nose.plugins.cover import Coverage @@ -28,7 +29,7 @@ def setUp(self): if not hasCoverage: - raise unittest.SkipTest('coverage not available; skipping') + raise SkipTest('coverage not available; skipping') self.cover_file = os.path.join(os.getcwd(), '.coverage') self.cover_html_dir = os.path.join(os.getcwd(), 'cover') @@ -56,7 +57,7 @@ def setUp(self): if not hasCoverage: - raise unittest.SkipTest('coverage not available; skipping') + raise SkipTest('coverage not available; skipping') self.cover_file = os.path.join(os.getcwd(), '.coverage') self.cover_html_dir = os.path.join(os.getcwd(), 'cover') @@ -81,7 +82,7 @@ def setUp(self): if not hasCoverage: - raise unittest.SkipTest('coverage not available; skipping') + raise SkipTest('coverage not available; skipping') self.cover_file = os.path.join(os.getcwd(), '.coverage') self.cover_html_dir = os.path.join(os.getcwd(), 'cover') @@ -107,7 +108,7 @@ def setUp(self): if not hasCoverage: - raise unittest.SkipTest('coverage not available; skipping') + raise SkipTest('coverage not available; skipping') self.cover_file = os.path.join(os.getcwd(), '.coverage') self.cover_html_dir = os.path.join(os.getcwd(), 'cover') @@ -133,7 +134,7 @@ def setUp(self): if not hasCoverage: - raise unittest.SkipTest('coverage not available; skipping') + raise SkipTest('coverage not available; skipping') self.cover_file = os.path.join(os.getcwd(), '.coverage') self.cover_html_dir = os.path.join(os.getcwd(), 'cover') @@ -158,7 +159,7 @@ def setUp(self): if not hasCoverage: - raise unittest.SkipTest('coverage not available; skipping') + raise SkipTest('coverage not available; skipping') self.cover_file = os.path.join(os.getcwd(), '.coverage') self.cover_html_dir = os.path.join(os.getcwd(), 'cover') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/functional_tests/test_multiprocessing/test_concurrent_shared.py new/nose-1.3.3/functional_tests/test_multiprocessing/test_concurrent_shared.py --- old/nose-1.3.1/functional_tests/test_multiprocessing/test_concurrent_shared.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/functional_tests/test_multiprocessing/test_concurrent_shared.py 2014-05-06 11:53:59.000000000 +0200 @@ -1,39 +1,42 @@ -import os -import sys -import unittest +# This test has been disabled because it's simply too unreliable. There are way +# too many issues with Travis and other build farms. -import multiprocessing -from test_multiprocessing import MPTestBase - - -is_pypy = '__pypy__' in sys.builtin_module_names - - -class TestConcurrentShared(MPTestBase): - processes = 2 - suitepath = os.path.join(os.path.dirname(__file__), 'support', - 'concurrent_shared') - - def setUp(self): - if is_pypy: - raise unittest.SkipTest('pypy warm-up is too slow; skipping') - - # Need to call the base's setUp() routine to get the necessary output - # capturing. - MPTestBase.setUp(self) - - def runTest(self): - assert 'Ran 2 tests in 1.' in self.output, "make sure two tests use 1.x seconds (no more than 2 seconds)" - assert str(self.output).strip().endswith('OK') - - -class TestConcurrentSharedWithAutomaticProcessesCount(TestConcurrentShared): - """Make sure negative numbers are handled gracefully.""" - processes = -1 - - def setUp(self): - if multiprocessing.cpu_count() < 2: - raise unittest.SkipTest( - "At least 2 cpus required for this test; skipping") - - TestConcurrentShared.setUp(self) +# import os +# import sys +# import unittest +# +# import multiprocessing +# from test_multiprocessing import MPTestBase +# +# +# is_pypy = '__pypy__' in sys.builtin_module_names +# +# +# class TestConcurrentShared(MPTestBase): +# processes = 2 +# suitepath = os.path.join(os.path.dirname(__file__), 'support', +# 'concurrent_shared') +# +# def setUp(self): +# if is_pypy: +# raise unittest.SkipTest('pypy warm-up is too slow; skipping') +# +# # Need to call the base's setUp() routine to get the necessary output +# # capturing. +# MPTestBase.setUp(self) +# +# def runTest(self): +# assert 'Ran 2 tests in 1.' in self.output, "make sure two tests use 1.x seconds (no more than 2 seconds)" +# assert str(self.output).strip().endswith('OK') +# +# +# class TestConcurrentSharedWithAutomaticProcessesCount(TestConcurrentShared): +# """Make sure negative numbers are handled gracefully.""" +# processes = -1 +# +# def setUp(self): +# if multiprocessing.cpu_count() < 2: +# raise unittest.SkipTest( +# "At least 2 cpus required for this test; skipping") +# +# TestConcurrentShared.setUp(self) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/functional_tests/test_string_exception.py new/nose-1.3.3/functional_tests/test_string_exception.py --- old/nose-1.3.1/functional_tests/test_string_exception.py 1970-01-01 01:00:00.000000000 +0100 +++ new/nose-1.3.3/functional_tests/test_string_exception.py 2014-05-06 11:53:59.000000000 +0200 @@ -0,0 +1,32 @@ +import os +import sys +import unittest + +from nose.plugins import PluginTester +from nose.plugins.builtin import Deprecated, Skip +from nose.plugins.skip import SkipTest + + +support = os.path.join(os.path.dirname(__file__), 'support') + + +class TestStringException(PluginTester, unittest.TestCase): + activate = '-v' + plugins = [Deprecated(), Skip()] + args = [] + suitepath = os.path.join(support, 'string-exception') + + def test_string_exception_works(self): + if sys.version_info >= (2, 6): + raise SkipTest("String exceptions are not supported in this " + "version of Python") + + print + print '!' * 70 + print str(self.output) + print '!' * 70 + print + assert 'raise "string exception"' in str(self.output) + assert 'raise "string exception in setup"' in str(self.output) + assert 'raise "string exception in teardown"' in str(self.output) + assert 'raise "string exception in test"' in str(self.output) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/functional_tests/test_xunit.py new/nose-1.3.3/functional_tests/test_xunit.py --- old/nose-1.3.1/functional_tests/test_xunit.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/functional_tests/test_xunit.py 2014-05-06 11:53:59.000000000 +0200 @@ -86,8 +86,8 @@ def runTest(self): print str(self.output) - f = open(xml_results_filename,'r') - result = f.read() + f = open(xml_results_filename,'rb') + result = f.read().decode('utf-8') f.close() print result assert 'tests="1" errors="0" failures="0" skip="0"' in result diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose/__init__.py new/nose-1.3.3/nose/__init__.py --- old/nose-1.3.1/nose/__init__.py 2014-03-10 18:12:18.000000000 +0100 +++ new/nose-1.3.3/nose/__init__.py 2014-05-06 11:53:59.000000000 +0200 @@ -4,7 +4,7 @@ from nose.tools import with_setup __author__ = 'Jason Pellerin' -__versioninfo__ = (1, 3, 1) +__versioninfo__ = (1, 3, 3) __version__ = '.'.join(map(str, __versioninfo__)) __all__ = [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose/commands.py new/nose-1.3.3/nose/commands.py --- old/nose-1.3.1/nose/commands.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/nose/commands.py 2014-05-06 11:53:59.000000000 +0200 @@ -117,23 +117,27 @@ # If we run 2to3 we can not do this inplace: # Ensure metadata is up-to-date - self.reinitialize_command('build_py', inplace=0) - self.run_command('build_py') + build_py = self.get_finalized_command('build_py') + build_py.inplace = 0 + build_py.run() bpy_cmd = self.get_finalized_command("build_py") build_path = bpy_cmd.build_lib # Build extensions - self.reinitialize_command('egg_info', egg_base=build_path) - self.run_command('egg_info') + egg_info = self.get_finalized_command('egg_info') + egg_info.egg_base = build_path + egg_info.run() - self.reinitialize_command('build_ext', inplace=0) - self.run_command('build_ext') + build_ext = self.get_finalized_command('build_ext') + build_ext.inplace = 0 + build_ext.run() else: self.run_command('egg_info') # Build extensions in-place - self.reinitialize_command('build_ext', inplace=1) - self.run_command('build_ext') + build_ext = self.get_finalized_command('build_ext') + build_ext.inplace = 1 + build_ext.run() if self.distribution.install_requires: self.distribution.fetch_build_eggs( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose/loader.py new/nose-1.3.3/nose/loader.py --- old/nose-1.3.1/nose/loader.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/nose/loader.py 2014-05-06 11:53:59.000000000 +0200 @@ -287,7 +287,7 @@ test_func = unbound_method(c, getattr(c, test_func)) if ismethod(test_func): yield MethodTestCase(test_func, arg=arg, descriptor=g) - elif isfunction(test_func): + elif callable(test_func): # In this case we're forcing the 'MethodTestCase' # to run the inline function as its test call, # but using the generator method as the 'method of @@ -296,7 +296,7 @@ else: yield Failure( TypeError, - "%s is not a function or method" % test_func) + "%s is not a callable or method" % test_func) except KeyboardInterrupt: raise except: @@ -344,7 +344,10 @@ path, module_path, os.path.realpath(module_path)) if (self.config.traverseNamespace or not path) or \ os.path.realpath(module_path).startswith(path): - tests.extend(self.loadTestsFromDir(module_path)) + # Egg files can be on sys.path, so make sure the path is a + # directory before trying to load from it. + if os.path.isdir(module_path): + tests.extend(self.loadTestsFromDir(module_path)) for test in self.config.plugins.loadTestsFromModule(module, path): tests.append(test) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose/plugins/xunit.py new/nose-1.3.3/nose/plugins/xunit.py --- old/nose-1.3.1/nose/plugins/xunit.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/nose/plugins/xunit.py 2014-05-06 11:53:59.000000000 +0200 @@ -187,7 +187,7 @@ 'skipped': 0 } self.errorlist = [] - self.error_report_file_name = options.xunit_file + self.error_report_file_name = os.path.realpath(options.xunit_file) def report(self, stream): """Writes an Xunit-formatted XML file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose/pyversion.py new/nose-1.3.3/nose/pyversion.py --- old/nose-1.3.1/nose/pyversion.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/nose/pyversion.py 2014-05-06 11:53:59.000000000 +0200 @@ -89,7 +89,8 @@ self.__dict__ = func.__dict__.copy() self._func = func self.__self__ = UnboundSelf(cls) - self.im_class = cls + if sys.version_info < (3, 0): + self.im_class = cls def address(self): cls = self.__self__.cls diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose/result.py new/nose-1.3.3/nose/result.py --- old/nose-1.3.1/nose/result.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/nose/result.py 2014-05-06 11:53:59.000000000 +0200 @@ -180,7 +180,7 @@ def _exc_info_to_string(self, err, test=None): # 2.7 skip compat from nose.plugins.skip import SkipTest - if issubclass(err[0], SkipTest): + if isclass(err[0]) and issubclass(err[0], SkipTest): return str(err[1]) # 2.3/2.4 -- 2.4 passes test, 2.3 does not try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose/util.py new/nose-1.3.3/nose/util.py --- old/nose-1.3.1/nose/util.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/nose/util.py 2014-05-06 11:53:59.000000000 +0200 @@ -8,7 +8,7 @@ import sys import types import unittest -from nose.pyversion import ClassType, TypeType, isgenerator +from nose.pyversion import ClassType, TypeType, isgenerator, ismethod log = logging.getLogger('nose') @@ -447,9 +447,10 @@ if func is not None: if type(obj) == types.ModuleType: # py.test compatibility - try: - args, varargs, varkw, defaults = inspect.getargspec(func) - except TypeError: + if isinstance(func, types.FunctionType): + args, varargs, varkw, defaults = \ + inspect.getargspec(func) + else: # Not a function. If it's callable, call it anyway if hasattr(func, '__call__'): func = func.__call__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose.egg-info/PKG-INFO new/nose-1.3.3/nose.egg-info/PKG-INFO --- old/nose-1.3.1/nose.egg-info/PKG-INFO 2014-03-10 22:44:11.000000000 +0100 +++ new/nose-1.3.3/nose.egg-info/PKG-INFO 2014-05-06 11:54:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: nose -Version: 1.3.1 +Version: 1.3.3 Summary: nose extends unittest to make testing easier Home-page: http://readthedocs.org/docs/nose/ Author: Jason Pellerin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/nose.egg-info/SOURCES.txt new/nose-1.3.3/nose.egg-info/SOURCES.txt --- old/nose-1.3.1/nose.egg-info/SOURCES.txt 2014-03-10 22:44:11.000000000 +0100 +++ new/nose-1.3.3/nose.egg-info/SOURCES.txt 2014-05-06 11:54:08.000000000 +0200 @@ -110,6 +110,7 @@ functional_tests/test_result.py functional_tests/test_selector.py functional_tests/test_skip_pdb_interaction.py +functional_tests/test_string_exception.py functional_tests/test_success.py functional_tests/test_suite.py functional_tests/test_withid_failures.rst @@ -258,6 +259,7 @@ functional_tests/support/package3/tests/test_a.py functional_tests/support/package3/tests/test_b.py functional_tests/support/pass/test.py +functional_tests/support/string-exception/test.py functional_tests/support/todo/test_with_todo.py functional_tests/support/todo/todoplug.py functional_tests/support/twist/test_twisted.py @@ -363,6 +365,7 @@ unit_tests/test_issue_159.rst unit_tests/test_issue_227.py unit_tests/test_issue_230.py +unit_tests/test_issue_786.py unit_tests/test_lazy_suite.py unit_tests/test_loader.py unit_tests/test_logcapture_plugin.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/setup.cfg new/nose-1.3.3/setup.cfg --- old/nose-1.3.1/setup.cfg 2014-03-10 22:44:12.000000000 +0100 +++ new/nose-1.3.3/setup.cfg 2014-05-06 11:54:08.000000000 +0200 @@ -5,7 +5,7 @@ py3where = build/tests [bdist_rpm] -doc_files = man/man1/nosetests.1 README.txt +doc_files = README.txt [egg_info] tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/setup.py new/nose-1.3.3/setup.py --- old/nose-1.3.1/setup.py 2014-03-10 20:10:50.000000000 +0100 +++ new/nose-1.3.3/setup.py 2014-05-06 11:53:59.000000000 +0200 @@ -1,7 +1,7 @@ import sys import os -VERSION = '1.3.1' +VERSION = '1.3.3' py_vers_tag = '-%s.%s' % sys.version_info[:2] test_dirs = ['functional_tests', 'unit_tests', os.path.join('doc','doc_tests'), 'nose'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/unit_tests/test_config_defaults.rst new/nose-1.3.3/unit_tests/test_config_defaults.rst --- old/nose-1.3.1/unit_tests/test_config_defaults.rst 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/unit_tests/test_config_defaults.rst 2014-05-06 11:53:59.000000000 +0200 @@ -89,9 +89,9 @@ (file-like object) - >>> options, args = parse([], StringIO("spam")) + >>> options, args = parse([], StringIO("spam")) # doctest: +ELLIPSIS error: Error reading config file '<???>': File contains no section headers. - file: <???>, line: 1 + file: ...<???>..., line: 1 'spam' (filename) @@ -99,7 +99,7 @@ >>> options, args = parse([], os.path.join(support, "invalid.cfg")) ... # doctest: +ELLIPSIS error: Error reading config file '...invalid.cfg': File contains no section headers. - file: ...invalid.cfg, line: 1 + file: ...invalid.cfg..., line: 1 'spam\n' (filenames, length == 1) @@ -107,7 +107,7 @@ >>> options, args = parse([], [os.path.join(support, "invalid.cfg")]) ... # doctest: +ELLIPSIS error: Error reading config file '...invalid.cfg': File contains no section headers. - file: ...invalid.cfg, line: 1 + file: ...invalid.cfg..., line: 1 'spam\n' (filenames, length > 1) @@ -120,7 +120,7 @@ ... os.path.join(support, "b.cfg")]) ... # doctest: +ELLIPSIS error: Error reading config file '...invalid.cfg': File contains no section headers. - file: ...invalid.cfg, line: 1 + file: ...invalid.cfg..., line: 1 'spam\n' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/unit_tests/test_issue_786.py new/nose-1.3.3/unit_tests/test_issue_786.py --- old/nose-1.3.1/unit_tests/test_issue_786.py 1970-01-01 01:00:00.000000000 +0100 +++ new/nose-1.3.3/unit_tests/test_issue_786.py 2014-05-06 11:53:59.000000000 +0200 @@ -0,0 +1,12 @@ +def test_evens(): + yield check_even_cls + +class Test(object): + def test_evens(self): + yield check_even_cls + +class Check(object): + def __call__(self): + pass + +check_even_cls = Check() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nose-1.3.1/unit_tests/test_utils.py new/nose-1.3.3/unit_tests/test_utils.py --- old/nose-1.3.1/unit_tests/test_utils.py 2014-03-10 18:11:43.000000000 +0100 +++ new/nose-1.3.3/unit_tests/test_utils.py 2014-05-06 11:53:59.000000000 +0200 @@ -1,4 +1,5 @@ import os +import sys import unittest import nose from nose import case @@ -168,7 +169,7 @@ class Bar_m: def __call__(self, mod): pass - + foo = imp.new_module('foo') foo.bar = bar foo.bar_m = bar_m -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
