A round toroidal magnet does not radiate magnetic field in space because all the field lines are confined in the magnet. For non-circular toroidal magnet, it is thought that magnetic field leaks out only slightly. But rigorous theoretical and experimental studies that verify this hypothesis are rare. I have done a simple experiment to show how magnetic field leaks out from a non-circular toroidal magnet.
Please read the article at
Magnetic field of a non-circular toroidal magnet pdf or word
Magnetic field of a non-circular toroidal magnet http://pengkuanem.blogspot.com/2014/01/magnetic-field-of-non-circular-toroidal.html
or
https://www.academia.edu/5879020/Magnetic_field_of_a_non-circular_toroidal_magnet