We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
expected_date = datetime.date(year, 05, 03) https://github.com/dabodev/dabo/blob/master/dabo/lib/test/test_dates.py#L17
Did you know that 05 is the octal notation for 5? Neither did I.
In python 2 it doesn't matter, but in py3 the syntax changed and now 05 causes problems, so may as well fix it (pr coming)
the py3 issues: 05 is a syntax error:
>>> 05 File "<console>", line 1 05 ^ SyntaxError: invalid token
(veyepar) carl@twist:~/src/dabo/dabo/lib/test$ 2to3 test_dates.py
expected_date = datetime.date(year, 0o5, 0o3)
That's 'ok' but not really.
The text was updated successfully, but these errors were encountered:
Merge pull request #23 from CarlFK/working
ddc624e
change 05 to 5 and other 0n constants, fixes #20
No branches or pull requests
expected_date = datetime.date(year, 05, 03)
https://github.com/dabodev/dabo/blob/master/dabo/lib/test/test_dates.py#L17
Did you know that 05 is the octal notation for 5? Neither did I.
In python 2 it doesn't matter, but in py3 the syntax changed and now 05 causes problems, so may as well fix it (pr coming)
the py3 issues: 05 is a syntax error:
(veyepar) carl@twist:~/src/dabo/dabo/lib/test$ 2to3 test_dates.py
That's 'ok' but not really.
The text was updated successfully, but these errors were encountered: