(self)
| 1939 | eq_(self._someattr_history(f), ([None], (), ())) |
| 1940 | |
| 1941 | def test_scalar_del(self): |
| 1942 | # note - compare: |
| 1943 | # test_scalar_set_None, |
| 1944 | # test_scalar_get_first_set_None, |
| 1945 | # test_use_object_set_None, |
| 1946 | # test_use_object_get_first_set_None |
| 1947 | Foo = self._fixture( |
| 1948 | uselist=False, useobject=False, active_history=False |
| 1949 | ) |
| 1950 | f = Foo() |
| 1951 | f.someattr = 5 |
| 1952 | attributes.instance_state(f).key = ("foo",) |
| 1953 | self._commit_someattr(f) |
| 1954 | |
| 1955 | del f.someattr |
| 1956 | eq_(self._someattr_history(f), ((), (), [5])) |
| 1957 | |
| 1958 | def test_scalar_del_expired(self): |
| 1959 | # note - compare: |
nothing calls this directly
no test coverage detected