You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

test_yelp.py 243 B

1234567
  1. import unittest
  2. from reproduction.text_classification.data.yelpLoader import yelpLoader
  3. class TestDatasetLoader(unittest.TestCase):
  4. def test_yelpLoader(self):
  5. ds = yelpLoader().load('sample_yelp.json')
  6. assert len(ds) == 20