def METHOD_NAME():
    # Make sure that things work properly when the low-level WCS uses the same
    # class for two of the coordinates.
    wcs = SimpleDuplicateWCS()
    q1, q2 = wcs.pixel_to_world(1, 2)
    assert isinstance(q1, Quantity)
    assert isinstance(q2, Quantity)
    x, y = wcs.world_to_pixel(q1, q2)
    assert_allclose(x, 1)
    assert_allclose(y, 2)