Merge branch 'coverage'

Beef up coverage
This commit is contained in:
rocky
2017-02-10 02:09:28 -05:00
4 changed files with 6 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -11,3 +11,8 @@ y &= 1 # INPLACE_AND
y ^= 1 # INPLACE_XOR
`y` # UNARY_CONVERT - No in Python 3.x
# Beef up augassign and STORE_SLICE+3
x = [1,2,3,4,5]
x[0:1] = 1
x[0:3] += 1, 2, 3

View File

@@ -228,7 +228,7 @@ if __name__ == '__main__':
if test_opts['coverage']:
os.environ['SPARK_PARSER_COVERAGE'] = (
'/tmp/spark-grammar-%s.cover' % test_dirs[0][-1]
'/tmp/spark-grammar-python-lib%s.cover' % test_dirs[0][-1]
)
last_compile_version = None