Skip to content

[Tests] NBERFeenstraWTF Constructor Nosetests Failure #8

Open
@sanguineturtle

Description

Why does this import cause nosetests to fail?

from pyeconlab.country import iso3n_to_iso3c, iso3n_to_name             #Why does this import prevent nosetests from running?
un_iso3n_to_iso3c = iso3n_to_iso3c(source_institution='un')                 
un_iso3n_to_unname = iso3n_to_name(source_institution='un') 
``


======================================================================
ERROR: Failure: ValueError (Object's md5hash doesn't match the md5hash o
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\Matt-Work\Anaconda\lib\site-packages\nose\loader.py", l
    addr.filename, addr.module)
  File "C:\Users\Matt-Work\Anaconda\lib\site-packages\nose\importer.py",
    return self.importFromDir(dir_path, fqname)
  File "C:\Users\Matt-Work\Anaconda\lib\site-packages\nose\importer.py",
    mod = load_module(part_fqname, fh, filename, desc)
  File "C:\Users\Matt-Work\work\repos\pyeconlab\pyeconlab\__init__.py",
    from pyeconlab.trade.dataset import NBERFeenstraWTFConstructor, NBER
  File "C:\Users\Matt-Work\work\repos\pyeconlab\pyeconlab\trade\dataset\
    from .NBERFeenstraWTF.constructor import NBERFeenstraWTFConstructor
  File "C:\Users\Matt-Work\work\repos\pyeconlab\pyeconlab\trade\dataset\
>
    from .constructor import NBERFeenstraWTFConstructor
  File "C:\Users\Matt-Work\work\repos\pyeconlab\pyeconlab\trade\dataset\
dule>
    un_iso3n_to_iso3c = iso3n_to_iso3c(source_institution='un')
  File "C:\Users\Matt-Work\work\repos\pyeconlab\pyeconlab\country\concor
    return concordance_data(source_institution, verbose=False).iso3n_to_
  File "C:\Users\Matt-Work\work\repos\pyeconlab\pyeconlab\country\concor
    return UNCountryCodes(verbose=verbose)
  File "C:\Users\Matt-Work\work\repos\pyeconlab\pyeconlab\country\un.py"
    raise ValueError("Object's md5hash doesn't match the md5hash of the
ValueError: Object's md5hash doesn't match the md5hash of the package da

----------------------------------------------------------------------

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions