'An \'almost right\' datetime works with configured NLS parameters
(#18465).'

def test_order_of_nls_parameters(self):

    with connection.cursor() as cursor:
        query = "select    1    from    dual    where    '1936-12-29    00:00'    <    sysdate"
        cursor.execute(query)
        self.assertEqual(cursor.fetchone()[0], 1)
