Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TaxTree tests are failing #37

Closed
ElDeveloper opened this issue Nov 13, 2013 · 2 comments
Closed

TaxTree tests are failing #37

ElDeveloper opened this issue Nov 13, 2013 · 2 comments
Labels

Comments

@ElDeveloper
Copy link
Member

yoshikivazquezbaeza:American-Gut@master$ python tests/test_taxtree.py 
.....F.
======================================================================
FAIL: test_sample_rare_unique (__main__.TaxTreeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test_taxtree.py", line 28, in test_sample_rare_unique
    self.assertEqual(sorted(obs), exp)
AssertionError: Lists differ: [('a', None, [['k__1', 'p__x',... != [('a', None, [['k__1', 'p__x',...

First differing element 2:
('c', None, [], [])
('c', None, [['k__1', 'p__y', 'c__']], [])

  [('a',
    None,
    [['k__1', 'p__x', 'c__'], ['k__1', 'p__y', 'c__3']],
    [['k__1', 'p__x', 'c__1'], ['k__1', 'p__x', 'c__2']]),
   ('b', None, [['k__1', 'p__x', 'c__'], ['k__1', 'p__y', 'c__3']], []),
-  ('c', None, [], [])]
+  ('c', None, [['k__1', 'p__y', 'c__']], [])]

----------------------------------------------------------------------
Ran 7 tests in 0.002s

FAILED (failures=1)
@wasade
Copy link
Member

wasade commented Nov 13, 2013

weird. fixing

On Tue, Nov 12, 2013 at 5:50 PM, Yoshiki Vázquez Baeza <
notifications@github.com> wrote:

yoshikivazquezbaeza:American-Gut@master$ python tests/test_taxtree.py

.....F.======================================================================FAIL: test_sample_rare_unique (main.TaxTreeTests)----------------------------------------------------------------------Traceback (most recent call last):
File "tests/test_taxtree.py", line 28, in test_sample_rare_unique
self.assertEqual(sorted(obs), exp)AssertionError: Lists differ: [('a', None, [['k__1', 'p__x',... != [('a', None, [['k__1', 'p__x',...
First differing element 2:('c', None, [], [])('c', None, [['k__1', 'p__y', 'c__']], [])

[('a',
None,
[['k__1', 'p__x', 'c__'], ['k__1', 'p__y', 'c__3']],
[['k__1', 'p__x', 'c__1'], ['k__1', 'p__x', 'c__2']]),
('b', None, [['k__1', 'p__x', 'c__'], ['k__1', 'p__y', 'c__3']], []),- ('c', None, [], [])]+ ('c', None, [['k__1', 'p__y', 'c__']], [])]
----------------------------------------------------------------------Ran 7 tests in 0.002s
FAILED (failures=1)


Reply to this email directly or view it on GitHubhttps://github.com//issues/37
.

@ElDeveloper
Copy link
Member Author

Fixed in #38.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants