Python is almost as good as Ruby. They have slightly different takes on a few things (taaaaabs) but you can easily jump from one to the other.
I tried testing in Python years ago and found the likes of PyTest etc to be light years behind what RSpec and even Minitest offer.
It’s a reason I love Elixir.