Commit c1d7c8a 1 parent 6024a65 commit c1d7c8a Copy full SHA for c1d7c8a
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,16 +130,16 @@ def test_run_url(self):
130
130
importer = ImportDocuments (path , True )
131
131
corpus2 , _ = importer .run ()
132
132
self .assertGreater (len (corpus1 ), 0 )
133
- self . assertEqual (corpus1 .metas [mask ].tolist (),
134
- corpus2 .metas [mask ].tolist ())
133
+ np . testing . assert_array_equal (corpus1 .metas [mask ].tolist (),
134
+ corpus2 .metas [mask ].tolist ())
135
135
136
136
path = "http://file.biolab.si/text-semantics/data" \
137
137
"/predlogi-vladi-sample"
138
138
importer = ImportDocuments (path , True )
139
139
corpus3 , _ = importer .run ()
140
140
self .assertGreater (len (corpus2 ), 0 )
141
- self . assertEqual (corpus1 .metas [mask ].tolist (),
142
- corpus3 .metas [mask ].tolist ())
141
+ np . testing . assert_array_equal (corpus1 .metas [mask ].tolist (),
142
+ corpus3 .metas [mask ].tolist ())
143
143
144
144
def test_run_url_special_characters (self ):
145
145
path = "http://file.biolab.si/text-semantics/data/" \
You can’t perform that action at this time.
0 commit comments