Commit graph

34 commits

Author SHA1 Message Date
Yian Chen
78dd54e641 address flake8 format check 2024-04-11 19:01:59 -07:00
Lasse Blaauwbroek
af99e388fb Fix and improve a bunch of tests 2023-06-08 02:29:54 +02:00
Madhava Jay
9c4f80ad21 Fixed linting issues
- re-enabled lint checks
2022-05-24 11:42:53 +10:00
Madhava Jay
26de61d847 Merge branch 'fix-mmap-buf' into madhava/python_310 2022-05-24 10:42:57 +10:00
Madhava Jay
ea70dac5cb Fixed black issues
- Disabled flake8 checks from blocking CI
- Added python 3.10 to packaging and manylinux
2022-04-06 13:32:52 +10:00
Bernhard Liebl
e2f3e5da46 adapted test cases to:
- work with contextual from_bytes()
- add regression test against original issue with buf release (see test_roundtrip_bytes_buffer)
2022-01-18 12:13:12 +01:00
Bernhard Liebl
c8c168fdd0 add test case for buffer release issue 2022-01-18 12:04:01 +01:00
Jacob Alexander
6e7fffd7de
Applying black formatting
- Fixing flake8 configuration to agree with black
- Adding black validation check to github actions
2021-10-01 11:12:21 -07:00
Jacob Alexander
a4ef16e831
Fixing flake8 linting errors
- Enabling builds to fail on simple lint failures now
2020-11-20 23:38:13 -08:00
Jacob Alexander
5e8ccba536
Updating docs for v1.0.0b2
- Full cleanup of all the docs
- General sphinx housekeeping
- Updated all the old/bad links
- More reliable tests
- Updated Changelog
- Removed dead/deprecated code
- Added documentation generation test
2020-06-14 17:05:45 -07:00
Andrey Cizov
d94d60db8b
get rid of all warnings during tests 2019-12-26 22:25:56 -08:00
Jacob Alexander
fc75e4083d
Fixing remaining flake8 lint warnings 2019-12-11 22:44:44 -08:00
Jacob Alexander
b3021e4f6b
Fixing flake8 warnings and errors
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude benchmark

Excluding the benchmark directory (due to protobuf generated files)
Also removing some Python2 specific code
2019-09-27 00:15:13 -07:00
Ivan Smirnov
8fd6cc6f66 Add a test for generic from_bytes() 2017-11-28 00:18:20 +00:00
Jason Paryani
e4db5e6d66 Add exception raising tests for traversal_limit_in_words 2017-04-09 17:38:14 -07:00
Christian Plesner Hansen
34385afbbd Pass options correctly through from_bytes to FlatArrayMessageReader 2017-02-15 12:02:41 +01:00
Constantine Vetoshev
5a63dacf14 Disable segment serialization test on PyPy (for now). 2016-06-24 13:28:35 -07:00
Constantine Vetoshev
73d6c5dc10 Add segment (de)serialization round-trip test. 2016-06-23 14:32:23 -07:00
Jason Paryani
b45152dba2 Skip failing PyPy test due to travis's outdated version 2016-03-08 11:29:38 -08:00
Jason Paryani
c625981eb6 Check version info the old way because of python 2.6 2016-03-04 13:12:01 -08:00
Jason Paryani
2be308db27 Throw an exception on invalid BufferView instantiation
Also adjust tests to skip mmap under Python 2.
2016-03-04 12:42:45 -08:00
Benjamin Piwowarski
b7a9d05e5e Support mmap objects for reading with from_bytes 2016-02-05 17:32:40 +01:00
Jason Paryani
5e7cb00a82 Skip broken test in PyPy
It works locally for me, and the error in TravisCI is starting to bug
me. Tracking this in #58
2015-03-09 23:40:03 -07:00
Jason Paryani
c6754f84d9 Make test_roundtrip_*multiple tests more robust 2015-01-28 16:13:13 -08:00
Jason Paryani
88db4abc48 Add read_multiple_bytes/read_multiple_bytes_packed methods 2015-01-28 16:08:47 -08:00
Jason Paryani
c57034e631 Add pickling test 2014-04-17 21:21:06 -07:00
Jason Paryani
0892a63b23 Change tests to use tempfile 2013-12-09 17:16:39 -08:00
Jason Paryani
3f7c3ae023 Change server instantion to be inherited 2013-12-09 17:13:43 -08:00
Jason Paryani
0587f3e56e Update tests for new serialization methods 2013-11-14 00:23:15 -08:00
Jason Paryani
0187d123c9 Fix from_dict for PyPy 2013-09-04 21:53:13 -07:00
Jason Paryani
effacb872f Fix problem with to_dict 2013-09-04 11:20:05 -07:00
Jason Paryani
e7da4859de Mark dictionary serialization test as failing on pypy 2013-09-03 22:50:58 -07:00
Jason Paryani
5e8745c365 Add packed roundtrip test 2013-09-03 22:16:13 -07:00
Jason Paryani
f80caf6c4c Add serialization round trip tests 2013-09-03 22:12:28 -07:00