Compare 94efd1f ... +0 ... a1e147a


@@ -28,12 +28,12 @@
Loading
28 28
        self._model = model
29 29
        self._fLOG = fLOG
30 30
31 -
    def log(self, *l, **p):
31 +
    def log(self, *args, **kwargs):
32 32
        """
33 33
        Log something.
34 34
        """
35 35
        if self._fLOG:
36 -
            self._fLOG(*l, **p)
36 +
            self._fLOG(*args, **kwargs)
37 37
38 38
    def predict(self, X):
39 39
        """

@@ -69,8 +69,8 @@
Loading
69 69
                     window.setTimeout(start_snap__DIV__,500);
70 70
                     </script>
71 71
                     """.replace("__DIV__", divid)
72 -
        libs = [
73 -
            '<script type="text/javascript" src="{0}"></script>'.format(l) for l in js_libs]
72 +
        libs = ['<script type="text/javascript" src="{0}"></script>'.format(le)
73 +
                for le in js_libs]
74 74
        libs = "\n".join(libs)
75 75
76 76
        return html_src, libs + "\n" + test_js

Learn more Showing 1 files with coverage changes found.

Changes in src/code_beatrix/algorithm/tsp.py
-2
+2
Loading file...
Files Coverage
src/code_beatrix -0.17% 80.81%
Project Totals (27 files) 80.81%
Loading