Permalink
Browse files
Trying to fix Travis build again :-(
- Loading branch information...
Showing
with
4 additions
and
3 deletions.
-
+2
−2
osh/lex_test.py
-
+2
−1
osh/match.py
|
|
@@ -227,8 +227,8 @@ def testLookAhead(self): |
|
|
ast.token(Id.Op_LParen, '('), l.LookAhead(lex_mode_e.OUTER))
|
|
|
|
|
|
|
|
|
OUTER_RE = match.CompileAll(LEXER_DEF[lex_mode_e.OUTER])
|
|
|
DOUBLE_QUOTED_RE = match.CompileAll(LEXER_DEF[lex_mode_e.DQ])
|
|
|
OUTER_RE = match._CompileAll(LEXER_DEF[lex_mode_e.OUTER])
|
|
|
DOUBLE_QUOTED_RE = match._CompileAll(LEXER_DEF[lex_mode_e.DQ])
|
|
|
|
|
|
|
|
|
class RegexTest(unittest.TestCase):
|
|
|
|
|
|
@@ -13,7 +13,8 @@ |
|
|
except ImportError:
|
|
|
fastlex = None
|
|
|
|
|
|
if fastlex:
|
|
|
#if fastlex:
|
|
|
if 0:
|
|
|
re = None # Shouldn't use re module in this case
|
|
|
else:
|
|
|
import re
|
|
|
|
0 comments on commit
57bb691