You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> assert 3 is 2 + 1
>>> assert 300 is 299 + 1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError
>>> id(300)
17688624
>>> id(299 + 1)
17688456
>>> id(1 + 299)
17688600
The text was updated successfully, but these errors were encountered:
janrygl
changed the title
assert len(window) is window_size + 1 for equal numbers (use == instead of is)
assert len(window) is window_size + 1 for equal numbers
May 29, 2016
Hello,
I would like to report wrong usage of
assert x is y
line:https://github.com/cfournie/segmentation.evaluation/blob/master/segeval/window/windowdiff.py
line 110
fails.
It should be enough to have
Examples (python2.7.6):
The text was updated successfully, but these errors were encountered: