Skip to content

Commit 3fcf576

Browse files
committed
Remove fstring to keep python 2.7 compatibility
1 parent e3690c3 commit 3fcf576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectral/tests/spyfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def create_complex_test_files(dtypes):
309309
for t in dtypes:
310310
X = np.array(np.random.rand(*shape) + 1j * np.random.rand(*shape),
311311
dtype=t)
312-
fname = os.path.join(testdir, f'test_{t}.hdr')
312+
fname = os.path.join(testdir, 'test_{}.hdr'.format(t))
313313
spy.envi.save_image(fname, X)
314314
tests.append((fname, datum, X[datum]))
315315
return tests

0 commit comments

Comments
 (0)