Skip to content

Commit 42aac36

Browse files
test: Remove src import
Reverting the revert of #59 Ref: #59 Ref: #61 Co-authored-by: Rob van der Linde <robvdl@gmail.com>
1 parent 504155f commit 42aac36

File tree

8 files changed

+9
-12
lines changed

8 files changed

+9
-12
lines changed

tests/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from src.thread import Settings
1+
from thread import Settings
22

33
Settings.set_verbosity('quiet')

tests/test_algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import random
22
from typing import Generator
33

4-
from src.thread.utils import algorithm
4+
from thread.utils import algorithm
55

66

77
def test_type():

tests/test_concurrentprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import time
22
import pytest
3-
from src.thread import ConcurrentProcessing, exceptions
3+
from thread import ConcurrentProcessing, exceptions
44

55

66
# >>>>>>>>>> Dummy Functions <<<<<<<<<< #

tests/test_dataframe_compatibility.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import typing
22
import pytest
3-
from src.thread import ConcurrentProcessing
3+
from thread import ConcurrentProcessing
44

55

66
class DummyLengthOnly:
@@ -33,13 +33,11 @@ def __init__(self, length: typing.Any, dataset: list):
3333

3434

3535
class DummyUnlikeSequence1:
36-
def __init__(self) -> None:
37-
...
36+
def __init__(self) -> None: ...
3837

3938

4039
class DummyUnlikeSequence2:
41-
def __init__(self) -> None:
42-
...
40+
def __init__(self) -> None: ...
4341

4442
def __str__(self) -> str:
4543
return 'invalid'

tests/test_decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import time
2-
from src.thread import threaded, processor
2+
from thread import threaded, processor
33

44

55
# >>>>>>>>>> Dummy Functions <<<<<<<<<< #

tests/test_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import time
22
import pytest
3-
from src.thread import Thread, exceptions
3+
from thread import Thread, exceptions
44

55

66
# >>>>>>>>>> Dummy Functions <<<<<<<<<< #

tests/test_verbosity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pytest
2-
from src.thread.utils.config import Verbosity
2+
from thread.utils.config import Verbosity
33

44

55
# >>>>>>>>>> General Use <<<<<<<<<< #

0 commit comments

Comments
 (0)