Remove the change tracker related tests

The change tracker no longer exists
This commit is contained in:
Kovid Goyal
2017-09-08 18:49:50 +05:30
parent f5dbe36cf3
commit 029ff84f09
2 changed files with 0 additions and 38 deletions

View File

@@ -83,17 +83,3 @@ class BaseTest(TestCase):
self.assertEqual(c1, c2)
finally:
c1.x, c1.y, c2.x, c2.y = x1, y1, x2, y2
def assertChanges(self, s, ignore='', **expected_changes):
actual_changes = s.consolidate_changes()
ignore = frozenset(ignore.split())
for k, v in actual_changes.items():
if k not in ignore:
if isinstance(v, dict):
v = {ky: tuple(vy) for ky, vy in v.items()}
if k == 'lines':
v = set(v)
if k in expected_changes:
self.ae(expected_changes[k], v)
else:
self.assertFalse(v, 'The property {} was expected to be empty but is: {}'.format(k, v))