Skip to content

Test Run Get Trace unit test fails #565

Closed

Description

@janvanrijn
Error
Traceback (most recent call last):
  File "/home/janvanrijn/anaconda3/envs/openml-python/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/home/janvanrijn/anaconda3/envs/openml-python/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/janvanrijn/projects/openml-python/tests/test_runs/test_run_functions.py", line 610, in test_get_run_trace
    trace = openml.runs.functions._create_trace_from_arff(
AttributeError: module 'openml.runs.functions' has no attribute '_create_trace_from_arff'

Makes sense.

Activity

  1. added a commit that references this issue on Oct 6, 2018
  2. janvanrijn commented on Oct 6, 2018

    @janvanrijn
    MemberAuthor

    Come to think of it, I am a little bit surprised that this error did not manifest itself before. I reset the test server in the meantime, but I could not think of a reason why it didn't fail before.

  3. janvanrijn commented on Oct 6, 2018

    @janvanrijn
    MemberAuthor

    Got it, it's because the try/catch around avoid_duplicate_runs=True

    Although this is hard to test, I think just fixing this is fine.

  4. mfeurer commented on Oct 8, 2018

    @mfeurer
    Collaborator

    Where's this try/except statement?

  5. added a commit that references this issue on Oct 12, 2018
  6. mfeurer commented on Oct 12, 2018

    @mfeurer
    Collaborator

    Closed by merging #566.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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