summaryrefslogtreecommitdiff
path: root/tests/basics/namedtuple1.py
AgeCommit message (Collapse)Author
2018-05-14Updated tests; removed try/catch for ucollectionsbildzeitung
2017-08-25Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in ↵Dan Halbert
development) master. cpx build compiles and loads and works in repl; test suite not run yet esp8266 not tested yet
2017-08-11Turn on Rosie CI testing to test new builds on real hardware.Scott Shawcroft
This introduces a skip_if module that can be used by tests to determine when they should be skipped due to the environment. Some tests have been split in order to have finer grained skip control.
2017-06-29tests/basics/namedtuple1: Add test for creating with pos and kw args.Damien George
2017-06-10tests/basics: Convert "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-05-29various: Spelling fixesVille Skyttä
2017-02-15tests/basic/: Make various tests skippable.Paul Sokolovsky
To run the testsuite on small ports.
2016-05-23py/objnamedtuple: Allow passing field names as a tuple.Antonin ENFRUN
So the documentation's example works. Besides, a tuple can be more memory efficient.
2016-05-02tests: Update for _io/_collections module having been renamed.Paul Sokolovsky
2015-04-05tests: Add some more tests to improve code coverage of corner cases.Damien George
2015-01-01py: Allow keyword arguments for namedtuplestijn
2015-01-01py: Use sequence of strings for named tuple initializationstijn
- remove single string initialization style - take list of strings instead - store list in the type for fast lookup
2014-05-10objnamedtuple: Support iteration.Paul Sokolovsky
2014-04-13py: Rename collections module to _collections.Paul Sokolovsky
We're not going to implement all the plethora of types in there in C. Funnily, CPython implements defaultdict in C, and namedtuple in Python.
2014-03-03namedtuple: Inherit unary/binary ops from tuple base class.Paul Sokolovsky
2014-03-03Add basic collections.namedtuple implementation.Paul Sokolovsky