remove duplicate tests

Change-Id: Ic7d5004da137de37c2865f5db19857e13f5dc9ee
This commit is contained in:
Q.hongtao 2020-09-14 09:43:54 +08:00
parent 870b53ee8e
commit baa0fadd48
1 changed files with 0 additions and 2 deletions

View File

@ -106,8 +106,6 @@ class HackingTestCase(base.BaseTest):
func = checks.check_python3_xrange
self.assertThat(list(func('for i in xrange(10)')),
matchers.HasLength(1))
self.assertThat(list(func('for i in xrange (10)')),
matchers.HasLength(1))
self.assertThat(list(func('for i in range(10)')), IsEmpty())
self.assertThat(list(func('for i in six.moves.range(10)')), IsEmpty())
self.assertThat(list(func('testxrange(10)')), IsEmpty())