blaze / datashape

Language defining a data description protocol
BSD 2-Clause "Simplified" License
183 stars 65 forks source link

TST: minor test failure on datashape master on win-64 #110

Closed jreback closed 9 years ago

jreback commented 9 years ago

was installed from zip, but here's the latest commit for ti: https://github.com/ContinuumIO/datashape/commit/ec4144ec307e2aeddbdcbb8b85cf3ec59fe29f33

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    datashape-0.4.1            |       np19py27_1          88 KB

The following NEW packages will be INSTALLED:

    colorama:         0.3.1-py27_0
    datashape:        0.4.1-np19py27_1
    dateutil:         2.1-py27_2
    multipledispatch: 0.4.7-py27_0
    numpy:            1.9.1-py27_0
    py:               1.4.25-py27_0
    pytest:           2.6.3-py27_0
    python:           2.7.8-0
    six:              1.8.0-py27_0

Fetching packages ...
datashape-0.4. 100% |###############################| Time: 0:00:00   0.00  B/s
Extracting packages ...
[      COMPLETE      ] |#################################################| 100%
Linking packages ...
[      COMPLETE      ] |#################################################| 100%

[neat] C:\Users\rebackj\AppData\Local\Continuum\Anaconda\conda-bld\test-tmp_dir>python -c "import datashape; datashape.test()"
Datashape version: 0.4.1
args ['--doctest-modules', 'C:\\Users\\rebackj\\AppData\\Local\\Continuum\\Anaconda\\envs\\_test\\lib\\site-packages\\datashape']
============================= test session starts =============================
platform win32 -- Python 2.7.8 -- py-1.4.25 -- pytest-2.6.3
collected 203 items

../../envs/_test/lib/site-packages/datashape/coretypes.py .........
../../envs/_test/lib/site-packages/datashape/discovery.py ......
../../envs/_test/lib/site-packages/datashape/internal_utils.py .....
../../envs/_test/lib/site-packages/datashape/predicates.py ............
../../envs/_test/lib/site-packages/datashape/promotion.py .
../../envs/_test/lib/site-packages/datashape/typesets.py .
../../envs/_test/lib/site-packages/datashape/util.py .......F
../../envs/_test/lib/site-packages/datashape/validation.py .
../../envs/_test/lib/site-packages/datashape/tests/test_coercion.py ....x....xxx...
../../envs/_test/lib/site-packages/datashape/tests/test_coretypes.py ..............................
../../envs/_test/lib/site-packages/datashape/tests/test_creation.py ..x.............x.
../../envs/_test/lib/site-packages/datashape/tests/test_discovery.py .........x................
../../envs/_test/lib/site-packages/datashape/tests/test_lexer.py .....
../../envs/_test/lib/site-packages/datashape/tests/test_operations.py ...
../../envs/_test/lib/site-packages/datashape/tests/test_overloading.py x......
../../envs/_test/lib/site-packages/datashape/tests/test_parser.py .....................
../../envs/_test/lib/site-packages/datashape/tests/test_predicates.py ..
../../envs/_test/lib/site-packages/datashape/tests/test_str.py ......
../../envs/_test/lib/site-packages/datashape/tests/test_type_equation_solver.py ..............
../../envs/_test/lib/site-packages/datashape/tests/test_user.py .........
../../envs/_test/lib/site-packages/datashape/tests/test_util.py ....

================================== FAILURES ===================================
_____________________ [doctest] datashape.util.to_ctypes ______________________
247     """
248     Constructs a ctypes type from a datashape
249
250     >>> to_ctypes(coretypes.int32)
Expected:
    <class 'ctypes.c_int'>
Got:
    <class 'ctypes.c_long'>

C:\Users\rebackj\AppData\Local\Continuum\Anaconda\envs\_test\lib\site-packages\datashape\util.py:250: DocTestFailure
=============== 1 failed, 194 passed, 8 xfailed in 2.31 seconds ===============
TEST END: datashape-0.4.1-np19py27_1
# If you want to upload this package to binstar.org later, type:
#
# $ binstar upload C:\Users\rebackj\AppData\Local\Continuum\Anaconda\conda-bld\win-64\datashape-0.4.1-np19py27_1.tar.bz2
#
# To have conda build upload to binstar automatically, use
# $ conda config --set binstar_upload yes

[neat] C:\Users\rebackj\Documents\datashape-master\datashape-master>
cpcloud commented 9 years ago

this is now passing on win64