Josh Peak
7caf29735a
Format project with black ( #467 )
...
Format with line length 110 to match flake8
make black part of linting check
Update travis spec for updated black requirements
Add diff output for black on failure
update changelog
2019-08-24 11:36:35 +10:00
jxltom
c3705dae9f
Fix flake8 in python3
2018-11-14 10:27:38 +08:00
Kevin McCarthy
37c8cbca91
pep8
2016-05-01 14:44:13 -10:00
Aliaksandr Buhayeu
9daf301deb
Fix for Serialization errors with JSON adapter
...
This patch aims to fix the issue#222,
where json data in request can not be serialized
because of TypeError in py3
2016-05-01 14:22:17 -10:00
Ivan Malison
916e7839e5
Actually use pytest.raises in test.
2014-10-07 13:45:09 -07:00
Ivan Malison
99692a92d2
Handle unicode error in json serialize properly.
2014-10-07 13:21:47 -07:00
Kevin McCarthy
8eb54c012f
pep8
2014-05-10 11:52:36 -10:00
Kevin McCarthy
e50f917cf4
Make Serializers Dumber
...
Let's have the serializer just worry about serializing the dict
that we hand it, and move the unicode stuff up to a serialize module.
This should hopefully let us move toward using a version string in
cassettes.
2014-05-10 11:52:35 -10:00
Max Shytikov
e4d1db0617
Removed frozenset
2014-04-30 02:38:01 +02:00
Kevin McCarthy
6273c32334
Add Exception when JSON Serializing Binary Data
...
Since I can't think of a good way to deal with this, let's just give a
nice error message to point people in the right direction.
Closes #51
2014-04-26 14:31:40 -10:00
Åsmund Grammeltvedt
a73da71159
Add Python 2.3 support
...
This commit also adds the 'six' dependency
2014-03-08 20:01:48 -10:00
Kevin McCarthy
c8299103fb
pep8 fixes
2013-08-23 20:35:43 -10:00
Kevin McCarthy
65254b4969
change serializer API so it doesn't have to do file stuff
2013-08-22 19:18:58 -10:00
Kevin McCarthy
6005420409
Let's do an instance/module-based API for serializers
2013-08-22 17:39:52 -10:00
shu zOMG chen
51f0f1bacd
Adding json serializer
2013-08-19 19:49:05 -10:00