Giter Site home page Giter Site logo

Comments (5)

sdiehl avatar sdiehl commented on July 24, 2024

Sorry about this confusion, instead of setup.py test use the following command:

$ python
>>> from blaze.testing import runner
>>> runner()

from blaze.

eric-kimbrel avatar eric-kimbrel commented on July 24, 2024

Thanks for the fast answer. I did a git pull, make clean, make build, and tried this method.
I now have a single test failure due to a failure to import ucr.

Python 2.7.3 |AnacondaCE 1.3.0 (x86_64)| (default, Jan 10 2013, 12:10:41) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from blaze.testing import runner
>>> runner()
..............S..............E.................F......................................................
======================================================================
ERROR: Failure: ImportError (cannot import name ucr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ekimbrel/anaconda/lib/python2.7/site-packages/nose/loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/Users/ekimbrel/anaconda/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/Users/ekimbrel/anaconda/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "blaze/tests/test_dtw.py", line 2, in <module>
    from blaze.ts.ucr_dtw import ucr
ImportError: cannot import name ucr

======================================================================
FAIL: blaze.tests.test_numpy_compat.test_not_compat
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ekimbrel/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "blaze/tests/test_numpy_compat.py", line 37, in test_not_compat
    to_numpy(dshape('x, int32'))
  File "blaze/test_utils.py", line 11, in __exit__
    raise AssertionError('Exception not raised')
AssertionError: Exception not raised

----------------------------------------------------------------------
Ran 102 tests in 0.478s

FAILED (SKIP=1, errors=1, failures=1)

from blaze.

sdiehl avatar sdiehl commented on July 24, 2024

Missing ucr could indicate that the C extensions are not built. make build should compile them.

The test failure is vestigal, it should be fixed in 113c715.

from blaze.

seibert avatar seibert commented on July 24, 2024

I think 134a6cf may have also fixed the ucr import issue, depending on the cause. Can this issue be closed?

from blaze.

sdiehl avatar sdiehl commented on July 24, 2024

Yup, seems fixed to me.

from blaze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.