On Sat, Apr 28, 2007 at 06:53:29AM +0200, steven mestdagh wrote:
> Niall O'Higgins [2007-04-27, 23:25:34]:
> > On Fri, Apr 27, 2007 at 04:56:24PM -0500, Will Maier wrote:
> > > On Fri, Apr 27, 2007 at 10:33:39PM +0100, Niall O'Higgins wrote:
> > > > Port for 'nose' python unittest framework.  Required for regress of
> > > > py-simplejson (which I will post next).  Tested on amd64. 
> > > 
> > > I posted a version[0] of this for 0.9.1 on 4 January:
> > > 
> > >     http://marc.info/?l=openbsd-ports&m=116791585912447&w=2
> > 
> > Ah, sorry.  I tend to just port this stuff when I need to install it,
> > since its so simple, and then send it off to ports@ to share/archive. 
> > 
> > > I like my version better, though the differences are mostly
> > > stylistic. ;) Some suggestions:
> > > 
> > >     * shorten COMMENT (I used "discovery-based unittests for
> > >       Python")
> > >     * V=NNN variables seem unnecessary
> > >     * ${DISTNAME:S/^/py-/} seems more idiomatic
> > 
> > I have no real preference here, just from another Python port.  Yours is
> > shorter so I'll use that. 
> > 
> > >     * why add www to CATEGORIES?
> > 
> > Good point.  I missed that, replaced it with devel/.
> > 
> > Port updated @ http://unworkable.org/~niallo/py-nose.tar.gz
> 
> some errors occur in the tests, log below (amd64).

I don't see these on my systems.  amd64 w/ python2.4, zaurus w/python
2.4 both pass regress fine.  I'm not sure what the problem could be
Steven - any more details on your system?  Packages installed etc?



> 
> ===>  Regression check for py-nose-0.9.3
> running test
> running egg_info
> writing nose.egg-info/PKG-INFO
> writing top-level names to nose.egg-info/top_level.txt
> writing dependency_links to nose.egg-info/dependency_links.txt
> writing entry points to nose.egg-info/entry_points.txt
> reading manifest file 'nose.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'unit_tests/*/*/*/*/*.py'
> writing manifest file 'nose.egg-info/SOURCES.txt'
> running build_ext
> collector in ['/a/ports/obj/py-nose-0.9.3/nose-0.9.3'] ... test module nose 
> in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/lib ... test directory 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/lib/nose in nose ... test module 
> nose.plugins in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/lib ... test directory 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/lib/nose/plugins in nose.plugins ... 
> test module nose in /a/ports/obj/py-nose-0.9.3/nose-0.9.3 ... test directory 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose in nose ... test module 
> nose.plugins in /a/ports/obj/py-nose-0.9.3/nose-0.9.3 ... test directory 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/plugins in nose.plugins ... test 
> module test_bug105 in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... 
> test class <class 'test_bug105.TestBug105'> ... test_load_in_def_order 
> (test_bug105.TestBug105) ... ERROR
> test module test_cases in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_cases.TestNoseCases'> ... test_function_test_case 
> (test_cases.TestNoseCases) ... ERROR
> test_function_test_case_fixtures (test_cases.TestNoseCases) ... ERROR
> test_method_test_case (test_cases.TestNoseCases) ... ERROR
> test module test_collector in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... test class <class 
> 'test_collector.TestNoseCollector'> ... test_basic_collection 
> (test_collector.TestNoseCollector) ... ok
> test_deep_collection (test_collector.TestNoseCollector) ... ok
> test module test_config in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_config.TestNoseConfig'> ... test_defaults 
> (test_config.TestNoseConfig) ... ERROR
> test_multiple_include (test_config.TestNoseConfig) ... ERROR
> test_reset (test_config.TestNoseConfig) ... ERROR
> test_single_include (test_config.TestNoseConfig) ... ERROR
> test_update (test_config.TestNoseConfig) ... ERROR
> test class <class 'test_config.TestNoseConfigFile'> ... test_empty_files 
> (test_config.TestNoseConfigFile) ... ERROR
> test_missing_file (test_config.TestNoseConfigFile) ... ERROR
> test_more_config (test_config.TestNoseConfigFile) ... ERROR
> test_no_files (test_config.TestNoseConfigFile) ... ERROR
> test class <class 'nose.core.TestProgram'> ... test module test_core in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... test class <class 
> 'test_core.TestAPI_run'> ... test_restore_stdout (test_core.TestAPI_run) ... 
> ERROR
> test class <class 'test_core.TestTestProgram'> ... test_init_arg_defaultTest 
> (test_core.TestTestProgram) ... ERROR
> test_init_arg_module (test_core.TestTestProgram) ... ERROR
> test module test_doctest_error_handling in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... ERROR
> test module test_importer in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_importer.TestImporter'> ... test_add_paths 
> (test_importer.TestImporter) ... ERROR
> test_import (test_importer.TestImporter) ... ERROR
> test_module_no_file (test_importer.TestImporter) ... ERROR
> test module test_inspector in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... test class <class 
> 'test_inspector.TestExpander'> ... Test that inspector can handle multi-line 
> docstrings ... ok
> test_get_tb_source_func (test_inspector.TestExpander) ... ok
> test_get_tb_source_simple (test_inspector.TestExpander) ... ok
> test_inspect_traceback_continued (test_inspector.TestExpander) ... ok
> test_pick_tb_lines (test_inspector.TestExpander) ... ok
> test_simple_inspect_frame (test_inspector.TestExpander) ... ok
> test module test_isolation_plugin in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... 
> test_isolation_plugin.test_lint ... ok
> test module test_issue_006 in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... test class <class 
> 'test_issue_006.TestIssue006'> ... test_load_nested_generator 
> (test_issue_006.TestIssue006) ... ok
> test module test_lazy_suite in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... test class <class 
> 'test_lazy_suite.TestLazySuite'> ... test_basic_iteration 
> (test_lazy_suite.TestLazySuite) ... ok
> test_setup_teardown (test_lazy_suite.TestLazySuite) ... ok
> test module test_loader in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... ERROR
> test module test_logging in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_logging.TestLoggingConfig'> ... root logger 
> settings ignored ... ok
> test module test_plugin_interfaces in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... test class <class 
> 'test_plugin_interfaces.TestPluginInterfaces'> ... test_api_methods_present 
> (test_plugin_interfaces.TestPluginInterfaces) ... ok
> test_no_instantiate (test_plugin_interfaces.TestPluginInterfaces) ... ok
> test module test_plugins in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_plugins.TestAttribPlugin'> ... test_add_options 
> (test_plugins.TestAttribPlugin) ... ok
> test_attr_a_b (test_plugins.TestAttribPlugin) ... ok
> test_basic_attr (test_plugins.TestAttribPlugin) ... ok
> test_class_attr (test_plugins.TestAttribPlugin) ... ok
> test_eval_attr (test_plugins.TestAttribPlugin) ... ok
> test class <class 'test_plugins.TestBuiltinPlugins'> ... test_add_options 
> (test_plugins.TestBuiltinPlugins) ... ok
> test_failing_load (test_plugins.TestBuiltinPlugins) ... ok
> test_load (test_plugins.TestBuiltinPlugins) ... FAIL
> test class <class 'test_plugins.TestDoctestPlugin'> ... test_add_options 
> (test_plugins.TestDoctestPlugin) ... ok
> test_collect_no_collect (test_plugins.TestDoctestPlugin) ... ok
> test_collect_pymodule (test_plugins.TestDoctestPlugin) ... ok
> test_collect_txtfile (test_plugins.TestDoctestPlugin) ... ok
> test_config (test_plugins.TestDoctestPlugin) ... ok
> test_matches (test_plugins.TestDoctestPlugin) ... ok
> test_want_file (test_plugins.TestDoctestPlugin) ... ok
> test class <class 'test_plugins.TestMissedTestsPlugin'> ... test_begin 
> (test_plugins.TestMissedTestsPlugin) ... ok
> test_finalize (test_plugins.TestMissedTestsPlugin) ... ok
> test_match (test_plugins.TestMissedTestsPlugin) ... ERROR
> test_options (test_plugins.TestMissedTestsPlugin) ... ok
> test class <class 'test_plugins.TestProfPlugin'> ... test_begin 
> (test_plugins.TestProfPlugin) ... ok
> test_finalize (test_plugins.TestProfPlugin) ... ok
> test_options (test_plugins.TestProfPlugin) ... ok
> test_prepare_test (test_plugins.TestProfPlugin) ... ok
> test module test_proxy in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_proxy.TestNoseProxy'> ... test_output_capture 
> (test_proxy.TestNoseProxy) ... ok
> test_proxy_result (test_proxy.TestNoseProxy) ... ok
> test_proxy_suite (test_proxy.TestNoseProxy) ... ok
> test_proxy_test (test_proxy.TestNoseProxy) ... ok
> test class <class 'nose.proxy.TestProxy'> ... test module test_result in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... test class <class 
> 'test_result.TestResult'> ... test_add_error (test_result.TestResult) ... 
> ERROR
> test_add_failure (test_result.TestResult) ... ERROR
> test_capture (test_result.TestResult) ... ERROR
> test_init (test_result.TestResult) ... ERROR
> test_start_stop (test_result.TestResult) ... ERROR
> test_stop_on_error (test_result.TestResult) ... ERROR
> test_stop_on_error_deprecated (test_result.TestResult) ... ERROR
> test_stop_on_error_fail (test_result.TestResult) ... ERROR
> test_stop_on_error_skip (test_result.TestResult) ... ERROR
> test module test_selector in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_selector.TestSelector'> ... test_anytest 
> (test_selector.TestSelector) ... ok
> test_exclude (test_selector.TestSelector) ... ok
> test_include (test_selector.TestSelector) ... ok
> test_module_in_tests (test_selector.TestSelector) ... ok
> test_module_in_tests_file (test_selector.TestSelector) ... ok
> test_want_class (test_selector.TestSelector) ... ok
> test_want_directory (test_selector.TestSelector) ... ok
> test_want_file (test_selector.TestSelector) ... ok
> test_want_function (test_selector.TestSelector) ... ok
> test_want_method (test_selector.TestSelector) ... ok
> test_want_module (test_selector.TestSelector) ... ok
> test_want_module_tests (test_selector.TestSelector) ... ok
> test module test_selector_plugins in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... test class <class 
> 'test_selector_plugins.TestSelectorPlugins'> ... test_null_selector 
> (test_selector_plugins.TestSelectorPlugins) ... ok
> test_rejection (test_selector_plugins.TestSelectorPlugins) ... ERROR
> test module test_tools in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_tools.TestTools'> ... test_decorator_func_sorting 
> (test_tools.TestTools) ... ok
> test_eq (test_tools.TestTools) ... ok
> test_make_decorator (test_tools.TestTools) ... ok
> test_nested_decorators (test_tools.TestTools) ... ok
> test_ok (test_tools.TestTools) ... ok
> test_raises (test_tools.TestTools) ... ok
> test_testcase_funcs (test_tools.TestTools) ... ERROR
> test_timed (test_tools.TestTools) ... ok
> test module test_twisted in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... ERROR
> test module test_twisted_testcase in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests ... ERROR
> test module test_utils in /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests 
> ... test class <class 'test_utils.TestUtils'> ... test_file_like 
> (test_utils.TestUtils) ... ok
> test_split_test_name (test_utils.TestUtils) ... ok
> test_split_test_name_windows (test_utils.TestUtils) ... ok
> test_test_address (test_utils.TestUtils) ... ERROR
> test_tolist (test_utils.TestUtils) ... ok
> test_try_run (test_utils.TestUtils) ... ok
> 
> ======================================================================
> ERROR: test_load_in_def_order (test_bug105.TestBug105)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_bug105.py", 
> line 16, in test_load_in_def_order
>     testmod.setUp()
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 200, in 
> setUp
>     self.module = _import(self.moduleName, [self.path], self.conf)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/importer.py", line 101, in 
> _import
>     mod = load_module(fqname, fh, filename, desc)
>   File 
> "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/support/bug105/tests.py", 
> line 1, in ?
>     from nose import tools
> ImportError: cannot import name tools
> -------------------- >> begin captured stdout << ---------------------
> test module tests in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/support/bug105
> 
> --------------------- >> end captured stdout << ----------------------
> 
> ======================================================================
> ERROR: test_function_test_case (test_cases.TestNoseCases)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_cases.py", line 
> 15, in test_function_test_case
>     case = nose.case.FunctionTestCase(func)
> AttributeError: 'module' object has no attribute 'case'
> 
> ======================================================================
> ERROR: test_function_test_case_fixtures (test_cases.TestNoseCases)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_cases.py", line 
> 47, in test_function_test_case_fixtures
>     case = nose.case.FunctionTestCase(func_exc)
> AttributeError: 'module' object has no attribute 'case'
> 
> ======================================================================
> ERROR: test_method_test_case (test_cases.TestNoseCases)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_cases.py", line 
> 27, in test_method_test_case
>     case = nose.case.MethodTestCase(TestClass, 'test_func')
> AttributeError: 'module' object has no attribute 'case'
> 
> ======================================================================
> ERROR: test_defaults (test_config.TestNoseConfig)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 28, in test_defaults
>     c = nose.config.Config()
> AttributeError: 'module' object has no attribute 'config'
> 
> ======================================================================
> ERROR: test_multiple_include (test_config.TestNoseConfig)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 47, in test_multiple_include
>     conf = configure(['--include=a', '--include=b'])
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 406, in 
> configure
>     parser = get_parser(env=env, builtin_only=help)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 386, in 
> get_parser
>     for plugcls in load_plugins(others=not builtin_only):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/plugins/__init__.py", line 
> 148, in load_plugins
>     for name in builtin_plugins:
> TypeError: iteration over non-sequence
> 
> ======================================================================
> ERROR: test_reset (test_config.TestNoseConfig)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 35, in test_reset
>     c = nose.config.Config()
> AttributeError: 'module' object has no attribute 'config'
> 
> ======================================================================
> ERROR: test_single_include (test_config.TestNoseConfig)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 51, in test_single_include
>     conf = configure(['--include=b'])
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 406, in 
> configure
>     parser = get_parser(env=env, builtin_only=help)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 386, in 
> get_parser
>     for plugcls in load_plugins(others=not builtin_only):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/plugins/__init__.py", line 
> 148, in load_plugins
>     for name in builtin_plugins:
> TypeError: iteration over non-sequence
> 
> ======================================================================
> ERROR: test_update (test_config.TestNoseConfig)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 42, in test_update
>     c = nose.config.Config()
> AttributeError: 'module' object has no attribute 'config'
> 
> ======================================================================
> ERROR: test_empty_files (test_config.TestNoseConfigFile)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 58, in setUp
>     self.tp = InactiveTestProgram(argv=[], env={})
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 227, in 
> __init__
>     map(os.path.expanduser, self.userConfigFiles))
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 256, in 
> parseUserConfig
>     from nose.commands import flag, _bool, option_blacklist
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/commands.py", line 42, in ?
>     parser = get_parser(env={})
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 386, in 
> get_parser
>     for plugcls in load_plugins(others=not builtin_only):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/plugins/__init__.py", line 
> 148, in load_plugins
>     for name in builtin_plugins:
> TypeError: iteration over non-sequence
> 
> ======================================================================
> ERROR: test_missing_file (test_config.TestNoseConfigFile)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 58, in setUp
>     self.tp = InactiveTestProgram(argv=[], env={})
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 227, in 
> __init__
>     map(os.path.expanduser, self.userConfigFiles))
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 256, in 
> parseUserConfig
>     from nose.commands import flag, _bool, option_blacklist
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/commands.py", line 42, in ?
>     parser = get_parser(env={})
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 386, in 
> get_parser
>     for plugcls in load_plugins(others=not builtin_only):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/plugins/__init__.py", line 
> 148, in load_plugins
>     for name in builtin_plugins:
> TypeError: iteration over non-sequence
> 
> ======================================================================
> ERROR: test_more_config (test_config.TestNoseConfigFile)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 58, in setUp
>     self.tp = InactiveTestProgram(argv=[], env={})
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 227, in 
> __init__
>     map(os.path.expanduser, self.userConfigFiles))
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 256, in 
> parseUserConfig
>     from nose.commands import flag, _bool, option_blacklist
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/commands.py", line 42, in ?
>     parser = get_parser(env={})
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 386, in 
> get_parser
>     for plugcls in load_plugins(others=not builtin_only):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/plugins/__init__.py", line 
> 148, in load_plugins
>     for name in builtin_plugins:
> TypeError: iteration over non-sequence
> 
> ======================================================================
> ERROR: test_no_files (test_config.TestNoseConfigFile)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_config.py", 
> line 58, in setUp
>     self.tp = InactiveTestProgram(argv=[], env={})
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 227, in 
> __init__
>     map(os.path.expanduser, self.userConfigFiles))
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 256, in 
> parseUserConfig
>     from nose.commands import flag, _bool, option_blacklist
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/commands.py", line 42, in ?
>     parser = get_parser(env={})
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/core.py", line 386, in 
> get_parser
>     for plugcls in load_plugins(others=not builtin_only):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/plugins/__init__.py", line 
> 148, in load_plugins
>     for name in builtin_plugins:
> TypeError: iteration over non-sequence
> 
> ======================================================================
> ERROR: test_restore_stdout (test_core.TestAPI_run)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_core.py", line 
> 35, in test_restore_stdout
>     res = nose.core.run(defaultTest=nullcollector, argv=[], env={},
> AttributeError: 'module' object has no attribute 'core'
> 
> ======================================================================
> ERROR: test_init_arg_defaultTest (test_core.TestTestProgram)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_core.py", line 
> 15, in test_init_arg_defaultTest
>     t = nose.core.TestProgram(defaultTest='something', argv=[], env={})
> AttributeError: 'module' object has no attribute 'core'
> 
> ======================================================================
> ERROR: test_init_arg_module (test_core.TestTestProgram)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_core.py", line 
> 24, in test_init_arg_module
>     t = nose.core.TestProgram('__main__', defaultTest=nullcollector,
> AttributeError: 'module' object has no attribute 'core'
> 
> ======================================================================
> ERROR: test module test_doctest_error_handling in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 51, in run
>     self.setUp()
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 200, in 
> setUp
>     self.module = _import(self.moduleName, [self.path], self.conf)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/importer.py", line 101, in 
> _import
>     mod = load_module(fqname, fh, filename, desc)
>   File 
> "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_doctest_error_handling.py",
>  line 5, in ?
>     from nose.plugins import doctests
> ImportError: cannot import name doctests
> 
> ======================================================================
> ERROR: test_add_paths (test_importer.TestImporter)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_importer.py", 
> line 20, in test_add_paths
>     nose.importer.add_path(foobar)
> AttributeError: 'module' object has no attribute 'importer'
> 
> ======================================================================
> ERROR: test_import (test_importer.TestImporter)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_importer.py", 
> line 33, in test_import
>     mod = nose.importer._import('buz', [foobar], nose.config.Config())
> AttributeError: 'module' object has no attribute 'importer'
> 
> ======================================================================
> ERROR: test_module_no_file (test_importer.TestImporter)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_importer.py", 
> line 47, in test_module_no_file
>     mod = nose.importer._import('buz', [foobar], nose.config.Config())
> AttributeError: 'module' object has no attribute 'importer'
> 
> ======================================================================
> ERROR: test module test_loader in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 51, in run
>     self.setUp()
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 200, in 
> setUp
>     self.module = _import(self.moduleName, [self.path], self.conf)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/importer.py", line 101, in 
> _import
>     mod = load_module(fqname, fh, filename, desc)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_loader.py", 
> line 4, in ?
>     from nose import case, loader
> ImportError: cannot import name case
> 
> ======================================================================
> ERROR: test_match (test_plugins.TestMissedTestsPlugin)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_plugins.py", 
> line 389, in test_match
>     baz = nose.case.FunctionTestCase(test_baz)
> AttributeError: 'module' object has no attribute 'case'
> 
> ======================================================================
> ERROR: test_add_error (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_add_failure (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_capture (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_init (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_start_stop (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_stop_on_error (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_stop_on_error_deprecated (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_stop_on_error_fail (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_stop_on_error_skip (test_result.TestResult)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_result.py", 
> line 21, in setUp
>     self.tr = nose.result.TextTestResult(stream, None, 2, Config())
> AttributeError: 'module' object has no attribute 'result'
> 
> ======================================================================
> ERROR: test_rejection (test_selector_plugins.TestSelectorPlugins)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_selector_plugins.py", 
> line 25, in test_rejection
>     s = nose.selector.Selector(c)
> AttributeError: 'module' object has no attribute 'selector'
> 
> ======================================================================
> ERROR: test_testcase_funcs (test_tools.TestTools)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_tools.py", line 
> 142, in test_testcase_funcs
>     tc_asserts = [ at for at in dir(nose.tools)
> AttributeError: 'module' object has no attribute 'tools'
> 
> ======================================================================
> ERROR: test module test_twisted in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 51, in run
>     self.setUp()
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 200, in 
> setUp
>     self.module = _import(self.moduleName, [self.path], self.conf)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/importer.py", line 101, in 
> _import
>     mod = load_module(fqname, fh, filename, desc)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_twisted.py", 
> line 2, in ?
>     from nose.twistedtools import *
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/twistedtools.py", line 58, 
> in ?
>     reactor = threaded_reactor()
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/twistedtools.py", line 47, 
> in threaded_reactor
>     from twisted.internet import reactor
> ImportError: No module named twisted.internet
> 
> ======================================================================
> ERROR: test module test_twisted_testcase in 
> /a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 51, in run
>     self.setUp()
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/suite.py", line 200, in 
> setUp
>     self.module = _import(self.moduleName, [self.path], self.conf)
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/nose/importer.py", line 101, in 
> _import
>     mod = load_module(fqname, fh, filename, desc)
>   File 
> "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_twisted_testcase.py", 
> line 1, in ?
>     from twisted.trial import unittest
> ImportError: No module named twisted.trial
> 
> ======================================================================
> ERROR: test_test_address (test_utils.TestUtils)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_utils.py", line 
> 65, in test_test_address
>     foo_funct = nose.case.FunctionTestCase(baz)
> AttributeError: 'module' object has no attribute 'case'
> 
> ======================================================================
> FAIL: test_load (test_plugins.TestBuiltinPlugins)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/a/ports/obj/py-nose-0.9.3/nose-0.9.3/unit_tests/test_plugins.py", 
> line 50, in test_load
>     assert Coverage in plugs
> AssertionError
> 
> ----------------------------------------------------------------------
> Ran 156 tests in 0.711s
> 
> FAILED (failures=1, errors=36)
> *** Error code 1
> 
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Reply via email to