Explorar o código

Added FIXME and Coverage fix.

Sander Mathijs van Veen %!s(int64=14) %!d(string=hai) anos
pai
achega
e377e758c0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      line.py

+ 2 - 1
line.py

@@ -30,6 +30,7 @@ def generate_line(root, node_type):
     int(x, -oo, oo)
     """
 
+    # FIXME: Binding order
     operators = [
             ('+', '-'),
             ('mod', ),
@@ -92,7 +93,7 @@ def generate_line(root, node_type):
                     right = '(' + right + ')'
 
                 s = left + ' ' + s + ' ' + right
-            else:
+            else:  # pragma: nocover
                 raise ValueError('arity = %d is currently not supported.' \
                                  % arity)
         else: