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:
Andreas Jaeger 2018-10-28 14:31:23 +01:00
parent a17765ca4f
commit f6ac770d37
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class TestAgent(testtools.TestCase):
l = a.list()
self.assertEqual(2, len(l))
run('^(?!\(stdin\)).*') # noqa
run(r'^(?!\(stdin\)).*')
l = a.list()
self.assertEqual(1, len(l))