summaryrefslogtreecommitdiff
path: root/tests/integration/jupyter_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/jupyter_tests.rs')
-rw-r--r--tests/integration/jupyter_tests.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/integration/jupyter_tests.rs b/tests/integration/jupyter_tests.rs
index c7b2712e8..e0733d5a3 100644
--- a/tests/integration/jupyter_tests.rs
+++ b/tests/integration/jupyter_tests.rs
@@ -25,9 +25,6 @@ use zeromq::SocketRecv;
use zeromq::SocketSend;
use zeromq::ZmqMessage;
-// for the `utc_now` function
-include!("../../cli/util/time.rs");
-
/// Jupyter connection file format
#[derive(Serialize)]
struct ConnectionSpec {
@@ -138,7 +135,7 @@ impl Default for MsgHeader {
Self {
msg_id: Uuid::new_v4(),
session: Uuid::new_v4(),
- date: utc_now(),
+ date: chrono::Utc::now(),
username: "test".into(),
msg_type: "kernel_info_request".into(),
version: "5.3".into(),