From 81bf390678ededcd3239f95e148bd40fa6e724a3 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Sun, 1 Mar 2020 23:48:49 -0800 Subject: [PATCH] postgres: remove old commented out test --- tests/postgres-types.rs | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/tests/postgres-types.rs b/tests/postgres-types.rs index 2daf85f0..11c1ef63 100644 --- a/tests/postgres-types.rs +++ b/tests/postgres-types.rs @@ -81,28 +81,3 @@ mod chrono { ) )); } - -// #[cfg_attr(feature = "runtime-async-std", async_std::test)] -// #[cfg_attr(feature = "runtime-tokio", tokio::test)] -// async fn postgres_chrono_timestamp_tz() -> anyhow::Result<()> { -// let mut conn = connect().await?; -// -// let value = DateTime::::from_utc( -// NaiveDate::from_ymd(2019, 1, 2).and_hms_micro(5, 10, 20, 115100), -// Utc, -// ); -// -// let row = sqlx::query( -// "SELECT TIMESTAMPTZ '2019-01-02 05:10:20.115100' = $1, TIMESTAMPTZ '2019-01-02 05:10:20.115100'", -// ) -// .bind(&value) -// .fetch_one(&mut conn) -// .await?; -// -// assert!(row.get::(0)); -// -// let out: DateTime = row.get(1); -// assert_eq!(value, out); -// -// Ok(()) -// }