aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-10-08tests: Add test for evaluation order of dictionary key/value pairs.Damien George
In Python 3.4 the value is evaluated before the key. In Python 3.5 it's key then value.
2015-10-08py/emitnative: Raise ViperTypeError for unsupported unary ops.Damien George
2015-10-08py/compile: Fix edge case when constant-folding negation of integer.Damien George
Also adds tests specifically for testing constant folding.
2015-10-05tests/basics/builtin_range: PEP8 fixes.Paul Sokolovsky
2015-10-02tests: Allow tests to pass against CPython 3.5.Damien George
All breaking changes going from 3.4 to 3.5 are contained in basics/python34.py.
2015-10-01py: Catch all cases of integer (big and small) division by zero.Damien George
2015-10-01py/mpz: Fix bignum anding of large negative with smaller positive int.Damien George
2015-10-01tests: Add further tests for mpz code.Damien George
2015-10-01py/mpz: Raise NotImplError instead of failing assertion.Damien George
2015-09-28tests: Test slicing a range that does not start at zero.Tom Soulanille
2015-09-27tests/wipy: Skip the rtc_irq test.Daniel Campora
2015-09-27tests: Skip uheapq1 test if target is WiPy.Daniel Campora
2015-09-27tests/wipy: Fix error in wlan test.Daniel Campora
2015-09-27tests/wipy: Add machine module tests.Daniel Campora
2015-09-27tests: Skip extmod machine tests when target is WiPy.Daniel Campora
2015-09-27cc3200: Rename pyb module to machine.Daniel Campora
2015-09-27tests/wipy: Improve robustness of rtc_irq test.Daniel Campora
2015-09-27tests/wipy: Improve robustness of time test.Daniel Campora
2015-09-27cc3200: Implement support for os.dupterm().Daniel Campora
2015-09-27cc3200: New WLAN API including test.Daniel Campora
2015-09-27cc3200: New irq API, affects all classes that provide the irq method.Daniel Campora
2015-09-23tests: Omit process output parsing in case of CalledProcessErrorstijn
Adding a line-end makes the determination of skip_native fail as it compares the output against b'CRASH' while it is in fact b'CRASH\n'
2015-09-23py: Fix call args when a stararg is followed by keyword args.Delio Brignoli
2015-09-21cc3200: New SD and RTC API plus os and time modules' extensions.Daniel Campora
2015-09-21tests/wipy: Remove unneeded dependencies to pyb.Pin.Daniel Campora
2015-09-19tests: Add escaped quotes tests for REPL.Alex March
Test possible combinations of single and double quotes with escaped quotes and parenthesis with and without function calls in REPL. Covers: #1419
2015-09-16cc3200: New ADC API.Daniel Campora
2015-09-16tests/wipy: Improve I2C tests.Daniel Campora
2015-09-16cc3200: New SPI API.Daniel Campora
2015-09-16cc3200: New WDT API.Daniel Campora
2015-09-16cc3200: Add UART.ODD and UART.EVEN to select parity.Daniel Campora
2015-09-16cc3200: Replace Pin.PULL_NONE with None.Daniel Campora
2015-09-16cc3200: Default peripheral ID support on I2C.Daniel Campora
2015-09-16cc3200: Make UART choose default id when not given.Daniel Campora
2015-09-15py/objslice: Make slice attributes (start/stop/step) readable.Tom Soulanille
Configurable with MICROPY_PY_BUILTINS_SLICE_ATTRS. Disabled by default.
2015-09-15tests/README: Explain how tests get skippedTom Soulanille
2015-09-15py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize.Damien George
When creating constant mpz's, the length of the mpz must be exactly how many digits are used (not allocated) otherwise these numbers are not compatible with dynamically allocated numbers. Addresses issue #1448.
2015-09-12unix: Enable REPL auto-indent.Damien George
2015-09-11stmhal: fix single precision float printing errorDave Hylands
Fixes #1435.
2015-09-10tests/wipy: Add I2C tests.Daniel Campora
2015-09-10tests/wipy: Disable the REPL on UART before running the UART test.Daniel Campora
2015-09-10tests/wipy: Additional tests for when the UART is un-initialized.Daniel Campora
2015-09-10cc3200: Improve Pin and UART implementation.Daniel Campora
Deassign pins af before assigning. Make uart.any() return the correct value everytime, this requires interrupts to be always enabled.
2015-09-10tests/wipy: Improve UART tests with no pin assignment case.Daniel Campora
2015-09-10tests: Ignore exception chain test on the WiPy.Daniel Campora
Fails because warnings are not enabled on the CC3200.
2015-09-10cc3200: New UART API plus related test.Daniel Campora
2015-09-10cc3200: Add alternate functions list to Pin object.Daniel Campora
Also remove pin.high() and pin.low() methods.
2015-09-10cc3200: Re-work Pin class according to the new API.Daniel Campora
Also add relevant test.
2015-09-07tests: Move int+unicode test to unicode-specific test directory.Damien George
2015-09-07py/lexer: Properly classify floats that look like hex numbers.Damien George
Eg 0e0 almost looks like a hex number but in fact is a float.