Skip to content

Commit

Permalink
Remove line continuation chars in tests to avoid Py3.7 LF issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robbmcleod committed Aug 10, 2018
1 parent 5c96a8a commit 8617c18
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions numexpr/tests/test_numexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,7 @@ def method():
neval, type(neval), shape(neval))

method.description = ('test_expressions(%s, test_scalar=%r, '
'dtype=%r, optimization=%r, exact=%r)') \
% (expr, test_scalar, dtype.__name__, optimization, exact)
'dtype=%r, optimization=%r, exact=%r)') % (expr, test_scalar, dtype.__name__, optimization, exact)
test_no[0] += 1
method.__name__ = 'test_scalar%d_%s_%s_%s_%04d' % (test_scalar,
dtype.__name__,
Expand Down Expand Up @@ -1020,8 +1019,7 @@ def print_versions():
np_version = tuple( ver for ver in np.__version__.split('.') )

if minimum_numpy_version < np_version:
print('*Warning*: NumPy version is lower than recommended: %s < %s' % \
(np.__version__, minimum_numpy_version))
print('*Warning*: NumPy version is lower than recommended: %s < %s' % (np.__version__, minimum_numpy_version))
print('-=' * 38)
print('Numexpr version: %s' % numexpr.__version__)
print('NumPy version: %s' % np.__version__)
Expand Down

0 comments on commit 8617c18

Please sign in to comment.