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
In the check_date function, there are lines of code here, here,here, and here that compare integers with string using a value comparison. The date attribute of the NounPhrase class and its Phrase superclass are strings. These lines don't throw errors in Python2 but they do in Python3.
Also, I'm not sure it works as intended. When going through the test_noun_meaning1 test, we see the following conflict.
In the
check_date
function, there are lines of code here, here,here, and here that compare integers with string using a value comparison. Thedate
attribute of theNounPhrase
class and itsPhrase
superclass are strings. These lines don't throw errors in Python2 but they do in Python3.Also, I'm not sure it works as intended. When going through the
test_noun_meaning1
test, we see the following conflict.Here is the output of Python3
What should the expected behavior be here?
It looks like we should be comparing the
dstr_to_ordate(curdate)
to the integer date. Here the dstr_to_ordate.The text was updated successfully, but these errors were encountered: