'Test references search through a weakref object.'

def test_weakref(self):

    class Dummy:
        pass
    o = Dummy()
    w1 = weakref.ref(o)
    self.assertIn('()', reflect.objgrep(w1, o, reflect.isSame))
