Brisbane - Former world number seven Kevin Anderson came back from the brink of defeat in Brisbane on Wednesday to down Benoit Paire and end France's hopes of making it to the quarter-finals of the inaugural ATP Cup.
Paire stormed through the first set and was serving for the match at 5-4 when his serve imploded.
Anderson won the second set but was on the ropes in the third when Paire suffered another meltdown to hand the match to the South African 2-6, 7-6 (7/1), 7-6 (7/5).
"Sometimes you get a little bit lucky - Benoit played a great match and he was the better player for a lot of it," Anderson said. "I was just able to stick around."
Earlier, French captain Gilles Simon was forced to step up to the Group A tie with only 15 minutes notice when number one Gael Monfils withdrew injured.
With Paire playing at number one, Simon took on Lloyd Harris and came back from losing the first set to win 2-6, 6-2, 6-2.
South Africa won the doubles to take the tie 2-1 when Ruan Roelofse and Raven Klaasen beat Nicolas Mahut and Edouard Roger-Vasselin 6-3, 6-4.
In the first tie of the day, Novak Djokovic made it three singles wins from three with a 6-3, 6-3 win over Cristian Garin, the world number 33, to win the tie for Serbia after Dusan Lajovic earlier beat Nicolas Jarry 6-2, 7-6 (7/3).
Jarry and Alejandro Tabilo salvaged some pride for Chile when they beat Viktor Troicki and Nikola Cacic in the doubles 6-3, 7-6 (7/2).
Djokovic said he enjoyed the challenge of the ATP Cup.
"I've never minded, to be honest, to face tough adversity from the blocks and have high-intensity matches from day one of the season," Djokovic, a 16-time grand slam winner, said.
"I had Kevin Anderson who was playing some extraordinary tennis. I thought it was the toughest match I've played here in Brisbane.
"And again against (Gael) Monfils, even though it was straight sets, it was still a lot of rallies and it was quite long and exhausting.
"I really am really happy with the challenges that I've had in the last six, seven days here, and hopefully that can allow me to build my form for Sydney and Melbourne later."
Serbia now travel to Sydney, where they will take on Canada in the quarter-finals and Djokovic said he expected to have even more support from Serbian fans there than in Brisbane.
"I'm enjoying it -- I enjoy the fact that we will actually go to a different city together, travel today, practice there tomorrow, play in a different environment," he said.
"Sydney's got a big Serbian community, hopefully the support can be as good as it was here, even better."
Collated results on day six of the inaugural ATP Cup team event being played Wednesday in Sydney, Brisbane and Perth.Eight teams qualify for the knockout phase from the round robin:
Poland 2 Austria 1
Kacper Zuk (POL) bt Dennis Novak (AUT) 5-7, 7-6 (7/3), 6-3
Hubert Hurkacz (POL) bt Dominic Thiem (AUT) 3-6, 6-4, 7-6 (7/5)
Oliver Marach/Jurgen Meltzer (AUT) bt Hubert Hurkacz/Lubasz Kubot (POL) 6-7 (3/7), 6-3, 11-9
Argentina 3 Croatia 0
Guido Pella (ARG) bt Marin Cilic (CRO) 7-6 (7/1), 6-3
Diego Schwartzman (ARG) bt Borna Coric (CRO) 6-2, 6-2
Maximo Gonzalez/Andre Molteni (ARG) bt Ivan Dodig/Nikola Mektic (CRO) 3-6, 6-3, 10-2
Serbia 2 Chile 1
Dusan Lajovic (SRB) bt Nicolas Jarry (CHI) 6-2, 7-6 (7/3)
Novak Djokovic (SRB) bt Cristian Garin (CHI) 6-3, 6-3
Nicolas Jarry/Alejandro Tabilo (CHI) bt Viktor Troicki/Nikola Cacic (SRB) 6-3, 7-6 (7/2)
South Africa 2 France 1
Gilles Simon (FRA) bt Lloyd Harris (RSA) 2-6, 6-2, 6-2
Kevin Anderson (RSA) bt Benoit Paire (FRA) 2-6, 7-6 (7/1), 7-6 (7/5)
Raven Klaasen/Ruan Roelofse (RSA) bt Nicolas Mahut/Edouard Roger-Vasselin (FRA) 6-3, 6-4
Spain 3 Japan 0
Roberto Bautista Agut (ESP) v Go Soeda (JPN) 6-2, 6-4
Rafael Nadal (ESP) bt Yoshihito Nishioka (JPN) 7-6 (7/4), 6-4
Rafael Nadal/Pablo Carreno Busta (ESP) bt Ben McLachlan/Go Soeda (JPN) 7-6 (7/5), 4-6, 10-6
Georgia 2 Uruguay 1
Aleksandre Metreveli (GEO) bt Franco Roncadelli (URU) 6-2, 6-1
Nikoloz Basilashvili (GEO) bt Pablo Cuevas (URU) 6-4, 1-6, 6-4
Pablo Cuevas/Ariel Behar (URU) bt Aleksandre Bakshi/Alexsandre Metreveli (GEO) 6-2, 6-2