Fix noqa warning
Change Ibfbd5df21e01d5a7bd44a216ff63bc805dd5c186 added the noqa to silence the warning - the real fix is to use a raw string for the regex that gets passed in. Change-Id: I986961082e0252547ca0b7e2cade3167459edf9b
This commit is contained in:
parent
a17765ca4f
commit
f6ac770d37
@ -78,7 +78,7 @@ class TestAgent(testtools.TestCase):
|
|||||||
l = a.list()
|
l = a.list()
|
||||||
self.assertEqual(2, len(l))
|
self.assertEqual(2, len(l))
|
||||||
|
|
||||||
run('^(?!\(stdin\)).*') # noqa
|
run(r'^(?!\(stdin\)).*')
|
||||||
|
|
||||||
l = a.list()
|
l = a.list()
|
||||||
self.assertEqual(1, len(l))
|
self.assertEqual(1, len(l))
|
||||||
|
Loading…
Reference in New Issue
Block a user