Aarni Koskela
5c922fb39d
JSONEncoder: ensure empty listlikes remain lists, not dicts ( #6794 )
2019-07-09 11:41:05 +01:00
Carlton Gibson
0407a0df8a
Dropped Python 2 compatibility. ( #6615 )
...
Thanks to Jon Dufresne (@jdufresne) for review.
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com>
2019-04-30 17:53:44 +02:00
Ryan P Kilby
1a170438d2
Add "optionals not required" build ( #6047 )
2018-06-22 10:16:57 +02:00
Carlton Gibson
e29ad1e7b3
JSONEncoder: Don’t strip microseconds from time
...
Closes #4749 .
This is the matching commit to the fix for `datetime` in #4256
2017-09-25 10:10:44 +02:00
Mariusz Felisiak
cd469f616a
Increased utils/encoders.py test coverage.
2017-02-15 07:17:33 +01:00
Artem Muterko
99d57df990
Convert encoders tests to pytest style ( #4796 )
2017-01-08 16:10:47 +00:00
Artem Muterko
a5fcf10c0e
Raise RuntimeError when trying to encode coreapi objects ( #4790 )
2017-01-06 22:32:13 +00:00
Asif Saifuddin Auvi
7e8b01dbd2
converted asserts of encoders test to pytest
2016-11-30 16:45:48 +06:00
Alex Kahan
4ff9e96b4c
Adding tests to encoder.py ( #4536 )
2016-10-05 09:54:59 +01:00