Through the petition, the National Gender and Equity Commission contends that people with special interests were not taken into account when parties drew up the lists.
The petition was heard by a three-judge bench comprising Justices Isaac Lenaola, David Majanja and Mumbi Ngugi.
The bench directed that the IEBC should put the gazettement on hold until the matter is concluded.
A ruling is expected on Monday next week.
The IEBC had issued a list of strict rules to guide the compilation of lists of individuals, which parties wished to give special seats to in Parliament and County Assemblies.
Each party was required to submit a list of all the people who would be selected to the positions if the party was entitled to all the available positions.
In the county assembly lists, parties had to submit 47 lists, one for every county consisting of eight nominees from marginalised groups.