The fatal accident involving an autonomous vehicle operated by the ride-hailing service Uber has prompted one automaker to temporarily halt its testing of self-driving cars on public roads.

The accident on Sunday night in Tempe, Ariz., prompted Uber to halt its tests on the streets of four cities: Tempe, Pittsburgh, San Francisco and Toronto. On Tuesday, Toyota Motor said that it, too, was suspending its tests of autonomous vehicles on public roads near its research center in Ann Arbor, Mich., and in the San Francisco area.

Toyota has a fleet of test vehicles that can drive themselves, although engineers and safety drivers ride along to take control if necessary — the same arrangement that was used in the Uber vehicle that fatally struck a pedestrian in Tempe.

“We’ve told our drivers to take a couple of days off so we can assess the situation,” said Rick Bourgoise, a Toyota spokesman.