"""Test chainstuf class"""
assert dd2.roger == 'roger'
+ # stuf (<0.9.9) had a problem with files being assigned in a stuf()
+ # constructor. It was fixed in 0.9.10, though not for PyPy. This test
+ # demonstrates that otherstuf.chainstuf does not manifest this bug. To be
+ # fair, the bug was in stuf's base collections (stuf and orderedstuf), not
+ # stuf.chainstuf. So this test is included out of an abundance of caution.
+ # Get names of files that won't be munged by py.test's capturing mechanism
+ # (sys.stdout and sys.stderr definitely will be overtaken by py.test, but
+ # their primitive double-underscore names won't be). This doesn't seem to
+ # be an issue with Python 2.x, but spuriously screws up the test otherwise
+ # in Python 3.x (gives false negative, saying module not working when it is)
+ d1 = dict(a=44, b=f2, c=[f2, f3])
+ # now try it with an update
+ ooo.update(dict(a=f2, b=f3))
"""Test counterstuf class"""