File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 5
5
- " 3.2"
6
6
- " 3.3"
7
7
8
- matrix :
9
- allow_failures :
10
- # 2.6 doesn't have SkipTest, so it's going to fail.
11
- - python : 2.6
12
-
13
8
install :
14
9
- " bash .travis.install"
15
10
- " pip install pytest coveralls pytz ."
Original file line number Diff line number Diff line change 1
1
#from __future__ import unicode_literals
2
2
3
3
import operator
4
- import sys
5
4
from textwrap import dedent
6
- import unittest
5
+
6
+ import pytest
7
7
8
8
from ometa .grammar import OMeta , TermOMeta , TreeTransformerGrammar
9
9
from ometa .compat import OMeta1
@@ -1271,7 +1271,7 @@ def doIt(s):
1271
1271
"""
1272
1272
tree = not isinstance (s , basestring )
1273
1273
if tree :
1274
- raise unittest . SkipTest ("Not applicable for push parsing" )
1274
+ pytest . skip ("Not applicable for push parsing" )
1275
1275
results = []
1276
1276
def whenDone (val , err ):
1277
1277
results .append (val )
You can’t perform that action at this time.
0 commit comments