Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test failure on develop branch #331

Copy link
Copy link
@amueller

Description

@amueller
Issue body actions
$ nosetests -sv tests/test_tasks/test_task_functions.py -m test_get_task_with_cache 
======================================================================
ERROR: test_get_task_with_cache (tests.test_tasks.test_task_functions.TestTask)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andy/checkout/openml-python/tests/test_tasks/test_task_functions.py", line 108, in test_get_task_with_cache
    task = openml.tasks.get_task(1)
  File "/home/andy/checkout/openml-python/openml/tasks/functions.py", line 247, in get_task
    task.download_split()
  File "/home/andy/checkout/openml-python/openml/tasks/task.py", line 83, in download_split
    split = OpenMLSplit._from_arff_file(cached_split_file)
  File "/home/andy/checkout/openml-python/openml/tasks/split.py", line 120, in _from_arff_file
    return cls(name, '', repetitions)
  File "/home/andy/checkout/openml-python/openml/tasks/split.py", line 27, in __init__
    self.split[repetition][fold][sample] = split[repetition][fold][sample]
TypeError: only integer scalar arrays can be converted to a scalar index
-------------------- >> begin captured logging << --------------------
fasteners.process_lock: Level 5: Acquired file lock `/home/andy/checkout/openml-python/tests/files/locks/datasets.functions.get_dataset:1` after waiting 0.000s [1 attempts were required]
fasteners.process_lock: Level 5: Unlocked and closed file lock open on `/home/andy/checkout/openml-python/tests/files/locks/datasets.functions.get_dataset:1`
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 144.598s

FAILED (errors=1)
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.