def test_domain_range_scale_luminance_CIE1976(self):
    '\n        Tests :func:`colour.colorimetry.luminance.luminance_CIE1976`\n        definition domain and range scale support.\n        '
    Y = luminance_CIE1976(41.52787584465345, 100)
    d_r = (('reference', 1), (1, 0.01), (100, 1))
    for (scale, factor) in d_r:
        with domain_range_scale(scale):
            np.testing.assert_almost_equal(luminance_CIE1976((41.52787584465345 * factor), 100), (Y * factor), decimal=7)
Tests :func:`colour.colorimetry.luminance.luminance_CIE1976`
definition domain and range scale support.
def test_domain_range_scale_luminance_CIE1976(self):
    '\n        Tests :func:`colour.colorimetry.luminance.luminance_CIE1976`\n        definition domain and range scale support.\n        '
    Y = luminance_CIE1976(41.52787584465345, 100)
    d_r = (('reference', 1), (1, 0.01), (100, 1))
    for (scale, factor) in d_r:
        with domain_range_scale(scale):
            np.testing.assert_almost_equal(luminance_CIE1976((41.52787584465345 * factor), 100), (Y * factor), decimal=7)