Python: Replace rest of from testlib import *

I think we should write our tests in a way that puts points-to in the
best condition to resolve calls. Although this specific change did not
change much, it should help set us up for success in the future 👍
This commit is contained in:
Rasmus Wriedt Larsen
2022-02-28 10:40:55 +01:00
parent ead0b658d2
commit 01d426dc58
9 changed files with 11 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ import sys
import os
sys.path.append(os.path.dirname(os.path.dirname((__file__))))
from testlib import *
from testlib import expects
# These are defined so that we can evaluate the test code.
NONSOURCE = "not a source"

View File

@@ -7,7 +7,7 @@ import sys
import os
sys.path.append(os.path.dirname(os.path.dirname((__file__))))
from testlib import *
from testlib import expects
# These are defined so that we can evaluate the test code.
NONSOURCE = "not a source"
@@ -93,4 +93,3 @@ def inLocal():
@expects(3)
def test_inLocal():
inLocal()

View File

@@ -8,7 +8,7 @@ import sys
import os
sys.path.append(os.path.dirname(os.path.dirname((__file__))))
from testlib import *
from testlib import expects
# These are defined so that we can evaluate the test code.
NONSOURCE = "not a source"