Skip to content

Commit

Permalink
redundant noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Sep 23, 2024
1 parent 7fa80df commit 124c764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ def test_basic_write(tmp_path):

with user.write_catalog(
tmp_path / filename_gfits, ext="CATALOG"
) as out, fitsio.FITS(tmp_path / filename_tfits, "rw", clobber=True) as myFits: # noqa: N806
) as out, fitsio.FITS(tmp_path / filename_tfits, "rw", clobber=True) as my_fits:
for i in range(my_max):
array = np.arange(i, i + 1, delta) # array of size 1/delta
array2 = np.arange(i + 1, i + 2, delta) # array of size 1/delta
out.write(RA=array, RB=array2)
arrays = [array, array2]
names = ["RA", "RB"]
_test_append(myFits, arrays, names)
_test_append(my_fits, arrays, names)

with fitsio.FITS(tmp_path / filename_gfits) as g_fits, fitsio.FITS(
tmp_path / filename_tfits
Expand Down

0 comments on commit 124c764

Please sign in to comment.