(self)
| 962 | eq_(f1.data, {2}) |
| 963 | |
| 964 | def test_difference_update(self): |
| 965 | sess = fixture_session() |
| 966 | |
| 967 | f1 = Foo(data={1, 2}) |
| 968 | sess.add(f1) |
| 969 | sess.commit() |
| 970 | |
| 971 | f1.data.difference_update({2, 5}) |
| 972 | sess.commit() |
| 973 | |
| 974 | eq_(f1.data, {1}) |
| 975 | |
| 976 | def test_operator_difference_update(self): |
| 977 | sess = fixture_session() |
nothing calls this directly
no test coverage detected