Reimport 'GroupFactory' (imported line 28)
50from tests.factories.speakers_call import SpeakersCallFactory
51from tests.factories.tax import TaxFactory
52from tests.factories.session import SessionFactory, SessionFactoryBasic
53from tests.factories.group import GroupFactory, GroupFactoryBasic 54from tests.factories.speaker import SpeakerFactory
55from tests.factories.ticket import TicketFactory
56from tests.factories.attendee import AttendeeFactory, AttendeeOrderSubFactory
Description
A module or an import name is reimported multiple times. This can be confusing and should be fixed. Please refer to the occurrence message to see the reimported name and the line number where it was imported for the first time.
Bad practice
import os
from os import path
from sys import path
import os
Here, the import name path
from the module os
has been imported twice.
Recommended
import os
from os import path