SAN DIEGO (AP) Ender Inciarte finished a home run shy of the cycle and scored twice, Julio Teheran pitched eight innings and had an RBI single, and the Atlanta Braves beat the San Diego Padres 4-2 Wednesday to stop a six-game losing streak.

The Braves, who have the worst record in the majors at 17-42, denied the Padres what would have been their first series sweep this season.

Wil Myers homered twice for the Padres, last in the NL West at 25-36.

More from FoxSports

Batting leadoff, Inciarte singled and scored in the first, doubled in the second, struck out in the fourth and tripled and scored in the sixth.

Teheran (2-6) allowed two runs and five hits, struck out eight and walked one. Arodys Vizcaino, who took the loss Tuesday night, pitched the ninth for his seventh save in nine chances.

Padres left fielder Melvin Upton Jr. made a leaping catch to rob Freddie Freeman of a home run leading off the fifth. On Thursday night, Freeman tripled off the top of the left-field wall but the Braves thought the ball went off a fan's glove and should have been ruled a home run. They appealed, but the call stood.

Atlanta took a 2-0 lead in the first against lefty Drew Pomeranz (5-6), who has developed into the Padres' best pitcher. Inciarte and Chase d'Armaud singled and Freeman hit a sacrifice fly. Nick Markakis hit a RBI single.

The Braves made it 3-0 in the fourth when Teheran helped his cause with an RBI single. It brought in Daniel Castro, who singled and advanced on a wild pitch.

Both of Myers' home runs were off Teheran. He homered an estimated 427 feet off the scoreboard on the facade of the second deck in left field leading off the fourth. Myers' second homer, estimated at 402 feet, hit off the second balcony on the Western Metal Supply Co. Building in the left field corner. They were his 11th and 12th.

Pomeranz allowed three runs and nine hits in five innings, struck out six and walked one.

UP NEXT

Braves: After a day off Thursday, RHP Bud Norris (1-7, 5.28) is scheduled to start the opener of a home series against the Chicago Cubs, who will counter with RHP Jason Hammel (7-1, 2.14)

Padres: After a day off, the Padres open a series at Colorado, with RHP Andrew Cashner (3-5, 4.78) scheduled to start against Jon Gray (4-2, 5.33), who beat the Padres 10-3 in San Diego on Sunday.