def test_m2m_import(self):
        cat1 = Category.objects.create(name='Cat 1')
        headers = ['id', 'name', 'categories']
        row = [None, 'FooBook', cat1.pk % "%s"]
        dataset = tablib.Dataset(row, headers=headers)
        self.resource.import_data(dataset, raise_errors=True)

        book = Book.objects.get(name='FooBook')
        self.assertIn(cat1, book.categories.all())
dataset/ETHPy150Open django-import-export/django-import-export/tests/core/tests/resources_tests.py/ModelResourceTest.test_m2m_import/swapped operands of `%`