TL;DR
The second joint tax assessment includes the income of your new spouse or partner for the year of the marriage or PACS, as well as income available to you after the death. It does not apply if you opt for separate taxation.
When two tax assessments are made
Except where the provisions of paragraphs 4 and 5 of Article 6 of the CGI apply, married persons and partners bound by a PACS are subject to joint taxation on their income for the entire year in which they married or entered into a PACS. However, when the surviving spouse marries or enters into a PACS in the same year as the death of their spouse or partner, two tax assessments are made if the new spouses or partners are taxed jointly. The first, in the names of the deceased spouse and the surviving spouse, includes all their income and, where applicable, that of their dependent children or other dependants, for the period from 1 January to the date of death. The second, in the names of the surviving spouse and their new spouse or partner, includes the income available to the latter for the year of the marriage and the income available to the surviving spouse for the period after the death, unless they opt for separate taxation.1,2
Income included in the second tax assessment
Opting for separate taxation
Joint taxation of the surviving spouse and their new spouse or partner, for the period after the death and the year of the marriage, does not apply if they opt for separate taxation. In the year of the marriage or the PACS, the spouses or partners may opt for separate taxation of their income for that year.2