<gh_stars>1-10
import numpy as np

from pandas._libs.tslibs import (
    Resolution,
    get_resolution,
)


def test_get_resolution_nano():
    # don't return the fallback RESO_DAY
    arr = np.array([1], dtype=np.int64)
    res = get_resolution(arr)
    assert res == Resolution.RESO_NS

import numpy as np

from pandas._libs.tslibs import (
    Resolution,
    get_resolution,
)


def test_get_resolution_nano():
    # don't return the fallback RESO_DAY
    arr = np.array([1], dtype=np.int64)
    res = get_resolution(arr)
    assert res == Resolution.RESO_NS
# don't return the fallback RESO_DAY