The structs definition used in the test code were duplicated three times:
use a single definition. Additionally, a lot of unnecessary imports were
present, most likely because the code was moved from a module to a new one,
and possibly because the code might not have used the Formatter, originally.
The IEEE and time imports can be outright removed, and the SttatFormatter
one was simplified so unittest code wouldn't have to change.
The structs definition used in the test code were duplicated three times: use a single definition. Additionally, a lot of unnecessary imports were present, most likely because the code was moved from a module to a new one, and possibly because the code might not have used the Formatter, originally. The IEEE and time imports can be outright removed, and the SttatFormatter one was simplified so unittest code wouldn't have to change.