import pywikibot
site = pywikibot.Site('test', 'wjkj')
---------------------------------------------------------------------------
UnknownFamily                             Traceback (most recent call last)
<ipython-input-2-efcf77cca33e> in <module>()
----> 1 site = pywikibot.Site('test', 'wjkj')

/srv/paws/pwb/pywikibot/__init__.py in Site(code, fam, user, sysop, interface, url)
   1231 
   1232         if not isinstance(fam, Family):
-> 1233             fam = Family.load(fam)
   1234 
   1235     interface = interface or fam.interface(code)

/srv/paws/pwb/pywikibot/tools/__init__.py in wrapper(*__args, **__kw)
   1736                              cls, depth)
   1737                     del __kw[old_arg]
-> 1738             return obj(*__args, **__kw)
   1739 
   1740         if not __debug__:

/srv/paws/pwb/pywikibot/family.py in load(fam)
    986                 return Family._families[fam]
    987         else:
--> 988             raise UnknownFamily('Family %s does not exist' % fam)
    989 
    990         try:

UnknownFamily: Family wjkj does not exist