nose-devs/nose — Issue #91: -d option shows both sides of dots in local namespace(!)
Author: jpellerin
Created: 2011-12-14 15:59:00+00:00
State: open

Nose 0.9.3 on Python 2.5.

Test file:
----------

class A:
pass

a=A()
b=13
a.b=A()

def test_it():
assert a.b == 5

Run it:
-------

Nosetests -d

Output
------

AssertionError
>> assert .13 == 5

Ie b is actually looked up in the localnamespace, not a's namespace. The
docs say dotted expressions should not be expanded at all.

Google Code Info:
Issue #: 61
Author: goo...@ramsey.uk.com
Created On: 2007-07-06T15:40:07.000Z
Closed On: