Module: check_mk
Branch: master
Commit: 3fd87ca514951f4b9ce31261b64069b095176e2c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3fd87ca514951f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Oct 17 16:26:04 2016 +0200
Fixed pylint tests on CI server
---
tests/web/tools.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/web/tools.py b/tests/web/tools.py
index f74b47e..7c119f8 100644
--- a/tests/web/tools.py
+++ b/tests/web/tools.py
@@ -12,7 +12,6 @@ import re
import difflib
import warnings
import traceback # for tracebacks
-import dill.source # for displaying lambda functional code
import time
from bs4 import BeautifulSoup as bs
from bs4 import NavigableString
@@ -208,6 +207,7 @@ def html_generator_test(old, new, fun, attributes=None, reinit=True):
if reinit:
+ import dill.source
print bcolors.HEADER + "TESTING" + bcolors.ENDC +
dill.source.getsource(fun)