mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
flake8: fix PEP8 overidentation E127
This commit is contained in:
parent
8f90da6040
commit
2202b71f99
@ -232,13 +232,13 @@ def test_udpv6_send(board_group, application, env=None):
|
||||
receiver.sendline(u"udp server start %d" % port)
|
||||
# wait for neighbor discovery to be done
|
||||
time.sleep(5)
|
||||
sender.sendline(u"udp send %s %d ab:cd:ef" % (receiver_ip, port))
|
||||
sender.expect_exact(u"Success: send 3 byte over UDP to [%s]:%d" %
|
||||
sender.sendline(u"udp send %s %d ab:cd:ef" % (rerun
|
||||
sender.expect_exact(u"Success: send 3 byte over run
|
||||
(receiver_ip, port))
|
||||
receiver.expect(u"00000000 AB CD EF")
|
||||
|
||||
|
||||
def test_tcpv6_send(board_group, application, env=None):
|
||||
def test_tcpv6_send(board_group, application, env=None):run
|
||||
env_client = os.environ.copy()
|
||||
if env is not None:
|
||||
env_client.update(env)
|
||||
|
@ -14,11 +14,11 @@ def testfunc(child):
|
||||
child.expect_exact("xtimer_periodic_wakeup test application.")
|
||||
|
||||
for i in range(256):
|
||||
child.expect(u"Testing interval \d+... \(now=\d+\)")
|
||||
child.expect(r"Testing interval \d+... \(now=\d+\)")
|
||||
for i in range(256):
|
||||
child.expect(u" +\d+ diff=\d+")
|
||||
child.expect(r" +\d+ diff=\d+")
|
||||
|
||||
child.expect(u"Min/max error: \d+/\d+")
|
||||
child.expect(r"Min/max error: \d+/\d+")
|
||||
child.expect_exact("Test complete.")
|
||||
|
||||
|
||||
|
@ -14,9 +14,9 @@ def testfunc(child):
|
||||
child.expect_exact("This test tests re-setting of an already active timer.")
|
||||
child.expect_exact("It should print three times \"now=<value>\", with "
|
||||
"values approximately 100ms (100000us) apart.")
|
||||
child.expect(u"now=\d+")
|
||||
child.expect(u"now=\d+")
|
||||
child.expect(u"now=\d+")
|
||||
child.expect(r"now=\d+")
|
||||
child.expect(r"now=\d+")
|
||||
child.expect(r"now=\d+")
|
||||
child.expect_exact("Test completed!")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user