Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f2777b

Browse files
committed
0 prefix not allowed in python 3 apparently.
1 parent 68999fe commit 0f2777b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/tests/test_optional/test_utils/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def test_encode_as_date(self):
132132
utils.PlotlyJSONEncoder.encode_as_date, obj)
133133

134134
# should work with a date
135-
a_date = datetime.date(2013, 10, 01)
135+
a_date = datetime.date(2013, 10, 1)
136136
res = utils.PlotlyJSONEncoder.encode_as_date(a_date)
137137
self.assertEqual(res, '2013-10-01')
138138

0 commit comments

Comments
 (0)