2 ms·
It depends on your use-case. If you exhaustively test something that is a simple wrapper around datetime, then you could swap out datetime with something else a
by pyre 15y ago
It depends on your use-case. If you exhaustively test something that is a simple wrapper around datetime, then you could swap out datetime with something else and still be reasonably confident that it still works (I realize that this is less likely in this example).