def METHOD_NAME(self):
    """Can we use fsspec to open a FITS file in a public Amazon S3 bucket?"""
    with fits.open(
        self.s3_uri, fsspec_kwargs={"anon": True}
    ) as hdul:  # s3:// paths should default to use_fsspec=True
        # Do we retrieve the expected array?
        assert_array_equal(hdul[1].section[self.slice], self.expected_cutout)
        # The file has multiple extensions which are not yet downloaded;
        # the repr and string representation should reflect this.
        assert "partially read" in repr(hdul)
        assert "partially read" in str(hdul)
    # Can the user also pass an fsspec file object directly to fits open?
    with fsspec.open(self.s3_uri, anon=True) as fileobj:
        with fits.open(fileobj) as hdul2:
            assert_array_equal(hdul2[1].section[self.slice], self.expected_cutout)
            assert "partially read" in repr(hdul)
            assert "partially read" in str(hdul)