new unittest for expression

This commit is contained in:
Lafrite
2014-02-28 10:31:56 +01:00
parent d67d68e080
commit ae6664b7cf
2 changed files with 40 additions and 3 deletions

View File

@@ -111,7 +111,7 @@ class Expression(object):
## ---------------------
## String parsing
## @classmethod ????
@classmethod
def str2tokens(self, exp):
""" Parse the expression, ie tranform a string into a list of tokens