Browse Source

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
master
Andreas Jaeger 6 months ago
parent
commit
f6ac770d37
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      roles/add-build-sshkey/library/test_sshagent_remove_keys.py

+ 1
- 1
roles/add-build-sshkey/library/test_sshagent_remove_keys.py View File

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

Loading…
Cancel
Save