File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,17 +45,17 @@ def test_zip(self):
45
45
tmp .writestr (file_name , data )
46
46
tmp .close ()
47
47
48
- self .assertRaisesRegexp (ValueError , 'Multiple files ' ,
48
+ self .assertRaisesRegexp (ValueError , 'must contain exactly one file ' ,
49
49
self .read_csv , path , compression = 'zip' )
50
50
51
- self .assertRaisesRegexp (ValueError , 'Multiple files ' ,
51
+ self .assertRaisesRegexp (ValueError , 'must contain exactly one file ' ,
52
52
self .read_csv , path , compression = 'infer' )
53
53
54
54
with tm .ensure_clean () as path :
55
55
tmp = zipfile .ZipFile (path , mode = 'w' )
56
56
tmp .close ()
57
57
58
- self .assertRaisesRegexp (ValueError , 'Zero files ' ,
58
+ self .assertRaisesRegexp (ValueError , 'must contain exactly one file ' ,
59
59
self .read_csv , path , compression = 'zip' )
60
60
61
61
with tm .ensure_clean () as path :
You can’t perform that action at this time.
0 commit comments