add tabs to printing in the test

This commit is contained in:
2021-02-08 10:46:52 +00:00
parent 645140add7
commit 8cc3210109
6 changed files with 8 additions and 8 deletions

View File

@ -3,8 +3,8 @@
from time import sleep
def run():
print("Test Sleep Long: start")
print("\tTest Sleep Long: start")
sleep(10)
print("Test Sleep Long: done")
print("\tTest Sleep Long: done")

View File

@ -3,8 +3,8 @@
from time import sleep
def run():
print("Test Sleep: start")
print("\tTest Sleep: start")
sleep(1)
print("Test Sleep: done")
print("\tTest Sleep: done")

View File

@ -4,7 +4,7 @@ N = 0
def run():
global N
print("Test Global Variable:", N)
print("\tTest Global Variable:", N)
N += 1

View File

@ -17,7 +17,7 @@ counter = Counter()
def run():
print("Test Global Class:", counter)
print("\tTest Global Class:", counter)
counter.inc()

View File

@ -10,7 +10,7 @@ class Run:
self.n += 1
def __str__(self):
return f"Test Callable Class: {self.n}"
return f"\tTest Callable Class: {self.n}"
def __call__(self):
print(self)

View File

@ -6,7 +6,7 @@ from time import sleep
def run():
n = 0
while True:
print(f"Test Infinite Loop: {n}")
print(f"\tTest Infinite Loop: {n}")
n += 1
sleep(0.3)