bip-0327/reference.py's self-test read time.clock_gettime_ns(time.CLOCK_MONOTONIC) for extra_in. Both symbols are documented "Availability: Unix" in CPython, so python3 reference.py raises AttributeError on Windows.
Following real-or-random's suggestion, extra_in now comes from secrets, with a random length in 0..41, so the self-test also exercises variable-length extra_in. time has no other use in the file, so its import is dropped.
Not tested on Windows; verified against CPython's platform-availability docs.