Shift import into test module to avoid warning.

This commit is contained in:
2017-12-21 16:56:56 -08:00
parent 762b9b2fa4
commit 5e8dde500e

View File

@@ -5,7 +5,6 @@ extern crate num;
extern crate quickcheck;
use chrono::{DateTime,TimeZone,Utc};
use chrono::offset::LocalResult;
use num::{BigInt,BigUint,FromPrimitive,One,ToPrimitive,Zero};
use std::iter::FromIterator;
use std::mem::size_of;
@@ -694,6 +693,7 @@ pub fn der_encode<T: ToASN1>(v: &T) -> Result<Vec<u8>,T::Error>
#[cfg(test)]
mod tests {
use chrono::offset::LocalResult;
use quickcheck::{Arbitrary,Gen};
use std::fs::File;
use std::io::Read;