> * nose doesn't need to (RUN|REGRESS)_DEPEND on twisted

Really? Maybe it does not *need* it; but it does make use of it;

"""
Twisted integration
-------------------

This module provides a very simple way to integrate your tests with the
Twisted event loop.

<...>
"""

    from twisted.internet import reactor

> (or itself)

I need REGRESS_DEPEND on itself to run nosetests(1)

> * You don't need the do-regress: target; 'make regress' Just
> Works (and without a pre-existing installation)

It does not for me.

Using nosetests(1):

$ make regress
===>  Regression check for py-nose-0.9.3
cd /usr/obj/ports/py-nose-0.9.3/nose-0.9.3/unit_tests && 
/usr/local/bin/nosetests
.....................................................................................................................
----------------------------------------------------------------------
Ran 118 tests in 1.965s

OK

Using setup.py tests:

======================================================================
ERROR: test_load_in_def_order (test_bug105.TestBug105)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/obj/ports/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 "/usr/obj/ports/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 "/usr/obj/ports/py-nose-0.9.3/nose-0.9.3/nose/importer.py", line 101, in 
_import
    mod = load_module(fqname, fh, filename, desc)
  File 
"/usr/obj/ports/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 
/usr/obj/ports/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 "/usr/obj/ports/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 "/usr/obj/ports/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 "/usr/obj/ports/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'

<...>

Reply via email to