[riot-notifications] [RIOT-OS/RIOT] tests/periph_rtt: Correct the test script syntax (#11387)

danpetry notifications at github.com
Fri Apr 12 14:26:47 CEST 2019


I tried iotlab-m3 and samr21 and getting the following error on both:
```python
Traceback (most recent call last):
  File "/home/danielpetry/Sandbox/RIOT/tests/periph_rtt/tests/01-run.py", line 38, in <module>
    sys.exit(run(testfunc))
  File "/home/danielpetry/Sandbox/RIOT/dist/pythonlibs/testrunner/__init__.py", line 23, in run
    testfunc(child)
  File "/home/danielpetry/Sandbox/RIOT/tests/periph_rtt/tests/01-run.py", line 21, in testfunc
    period = int(child.match[1])
TypeError: '_sre.SRE_Match' object is not subscriptable
```
My python version being used is 3.5.3, and my testrunner version is 0.8.4. Could be a difference between testrunner versions?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11387#issuecomment-482555526
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190412/5b6ecbbc/attachment.html>


More information about the notifications mailing list