• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ni / nimi-python / 3267 / 5
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 01 Feb 2018 09:18PM UTC
Files 19
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Feb 2018 08:54PM UTC coverage: 90.128% (-0.8%) from 90.966%
3267.5

push

travis-ci

web-flow
[1]Use arrays instead of lists where we can (#732)

* Add timeout converter

* Change units of timeouts to better test

* Add convert function addon information

* Rename to _TimedeltaConverter since it can be used for other places than just timeouts

* Rename class variables

* ctypes integers don't truncate floats so we need to

* Add 15th option for converters with test

* Add timedelta tests

* Update generated files

* Renumber declaration cases

* Update generated files

* Move converters into own file

* Make converters functions instead of classes

* Update generated files

* Use 'python_api_converter_type' for documentation

* Update generated files

* Add helper functio to get array.array type from the api type

* Add convert_iterable_to_ctypes. Make function so we can mock it in unit tests

* Update buffer matcher to accept lists as well

* We need access to array.array

* Add support for multiple lines of declaration for function call parameters

* Add mock for array tests

* Change addon to match comments

* Reenable test

* Raise an exception so we can catch it

* Add arrays for simple output arrays

* Fix __repr__

* Add hooks to get struct info

* Update generated files

* Ignore local batch files

* Add check for list because of mocking

* Check against the array.array object

* Update generated files

* Use arrays instead of lists for simple types (other that boolean)

* Break out different types of "arrays" into list, string and array

* Sometimes we need to "deference" a pointer

* Don't have is_buffer is static metadata. Should come from add all

* Not using structs

* Update tests

* Update generated files

* Update comments

* Give the library the type that it expects

* Fix up test for new type

* Update generated files

* Fix fgen expexted values - now it is an array.array instead of a list

* We can now get different exceptions depending on what's wrong with the data

* Don't overwrite 'type' for strings

* Since we don't overwrite 'type', we need to add ViChar[]

* Use more descriptive variable name

* Assert there is enough room instead of always taking the min

* Missed replacement

* Update generated files

* Fix types in documentation for numpy.array and array.array

* Should be 'str', not 'string'

* Update generated files

* Change logic

* Update generated files

* Change name from 'is_array'/'is_list' to 'use_array'/'use_list'

* Only use arrays if 'use_array' is True

* Be consistent with setting definition

* 'use_array' is only set in addons and no longer inferred

* Explicitly set use_array

* Only arrays need to be mocked

* Update generated files

* Handle array.array on input

* Update generated files

* Use converter for all buffers

* Rename to use buffer instead of iterable

* Update generated files

* Review comments

* Update generated files

* Remove extra line

* Move logic for getting an array into helper function

* Update generated files

* Move ctypes helper functions from _converters to session

* Update generated files

2118 of 2350 relevant lines covered (90.13%)

0.9 hits per line

Source Files on job 3267.5
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3267
  • Travis Job 3267.5
  • c07240e0 on github
  • Prev Job for on master (#3261.5)
  • Next Job for on master (#3272.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc