'Test that file type is recognized without extension'

def test_simple_noextension(self, tmpdir):

    filename = str(tmpdir.join('test_simple'))
    t1 = Table(self.data)
    t1.write(filename, overwrite=True, format='fits')
    t2 = Table.read(filename)
    assert equal_data(t1, t2)
