8000 Remove need for # NOQA · dahlia/github3.py@a5b120e · GitHub
[go: up one dir, main page]

Skip to content

Commit a5b120e

Browse files
committed
Remove need for # NOQA
1 parent 5e5e8c5 commit a5b120e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

run_tests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22

33
import unittest
4+
import imp
45
import os
56
import re
67

@@ -10,8 +11,8 @@
1011
coverage = None
1112

1213
try:
13-
import expecter # NOQA
14-
import mock # NOQA
14+
for m in ('expecter', 'mock'):
15+
imp.find_module(m)
1516
except ImportError as ie:
1617
print('Please install the test dependencies as documented in the README')
1718
raise

0 commit comments

Comments
 (0)
0