File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ smallvec = "1.6.1"
55
55
strum = " 0.25"
56
56
syn = " 2.0.15"
57
57
tar = " 0.4.38"
58
- tempdir = " 0.3.7"
59
58
tempfile = " 3.1.0"
60
59
unicase = " 2.6.0"
61
60
url = " 2.1"
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ regex = { workspace = true }
71
71
uuid = { workspace = true , features = [" v4" ] }
72
72
unicase = { workspace = true }
73
73
rand = { workspace = true }
74
- tempdir = { workspace = true }
75
74
polars-core = { workspace = true }
76
75
pretty_assertions = { workspace = true }
77
76
# criterion = "0.3"
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ mod test {
130
130
use crate :: types:: Value ;
131
131
use std:: { sync:: mpsc, thread} ;
132
132
133
- use tempdir :: TempDir ;
133
+ use tempfile :: TempDir ;
134
134
135
135
#[ test]
136
136
fn test_basic ( ) -> Result < ( ) > {
@@ -210,7 +210,7 @@ mod test {
210
210
#[ test]
211
211
fn test_error_handling ( ) -> Result < ( ) > {
212
212
//! We specify a directory as a database. This is bound to fail.
213
- let dir = TempDir :: new ( "r2d2-duckdb" ) . expect ( "Could not create temporary directory" ) ;
213
+ let dir = TempDir :: with_prefix ( "r2d2-duckdb" ) . expect ( "Could not create temporary directory" ) ;
214
214
let dirpath = dir. path ( ) . to_str ( ) . unwrap ( ) ;
215
215
assert ! ( DuckdbConnectionManager :: file( dirpath) . is_err( ) ) ;
216
216
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments