File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ def test_multiimagefolder(self):
109
109
110
110
# test if the datasets outputs all images correctly
111
111
for i in range (len (dataset )):
112
- self .assertEqual ([ true_samples [i ][0 ], true_samples [i ][1 ] ], dataset [i ])
112
+ self .assertEqual ([true_samples [i ][0 ], true_samples [i ][1 ]], dataset [i ])
113
113
114
114
# redo all tests with specified valid image files
115
115
dataset = torchvision .datasets .MultiImageFolder (directories = directories , loader = lambda x : x ,
@@ -123,7 +123,7 @@ def test_multiimagefolder(self):
123
123
124
124
# test if the datasets outputs all images correctly
125
125
for i in range (len (dataset )):
126
- self .assertEqual ([ true_samples [i ][0 ], true_samples [i ][1 ] ], dataset [i ])
126
+ self .assertEqual ([true_samples [i ][0 ], true_samples [i ][1 ]], dataset [i ])
127
127
128
128
@mock .patch ('torchvision.datasets.mnist.download_and_extract_archive' )
129
129
def test_mnist (self , mock_download_extract ):
You can’t perform that action at this time.
0 commit comments