Skip to content

Commit

Permalink
update ut to meet singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
FeixLiu committed Nov 26, 2021
1 parent 8b881ac commit fee0741
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/paddle/fluid/tests/unittests/test_fleet_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ def run_fleet_executor(self, place):
exe.run(empty_program, feed={'x': [1]})

def test_executor_on_single_device(self):
places = [fluid.CPUPlace()]
if fluid.is_compiled_with_cuda():
places.append(fluid.CUDAPlace(0))
for place in places:
self.run_fleet_executor(place)
self.run_fleet_executor(fluid.CUDAPlace(0))


if __name__ == "__main__":
Expand Down

1 comment on commit fee0741

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.