Skip to content

Commit 8617c18

Browse files
committed
Remove line continuation chars in tests to avoid Py3.7 LF issue
1 parent 5c96a8a commit 8617c18

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

numexpr/tests/test_numexpr.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,7 @@ def method():
643643
neval, type(neval), shape(neval))
644644

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

10221021
if minimum_numpy_version < np_version:
1023-
print('*Warning*: NumPy version is lower than recommended: %s < %s' % \
1024-
(np.__version__, minimum_numpy_version))
1022+
print('*Warning*: NumPy version is lower than recommended: %s < %s' % (np.__version__, minimum_numpy_version))
10251023
print('-=' * 38)
10261024
print('Numexpr version: %s' % numexpr.__version__)
10271025
print('NumPy version: %s' % np.__version__)

0 commit comments

Comments
 (0)