We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3690c3 commit 3fcf576Copy full SHA for 3fcf576
spectral/tests/spyfile.py
@@ -309,7 +309,7 @@ def create_complex_test_files(dtypes):
309
for t in dtypes:
310
X = np.array(np.random.rand(*shape) + 1j * np.random.rand(*shape),
311
dtype=t)
312
- fname = os.path.join(testdir, f'test_{t}.hdr')
+ fname = os.path.join(testdir, 'test_{}.hdr'.format(t))
313
spy.envi.save_image(fname, X)
314
tests.append((fname, datum, X[datum]))
315
return tests
0 commit comments