Skip to content

Commit b9d26c5

Browse files
committed
Fix review issue #1: Remove duplicate sys.path.insert from test files (conftest.py already handles it)
1 parent 9b9730f commit b9d26c5

3 files changed

Lines changed: 0 additions & 15 deletions

File tree

tests/test_block.py

100644100755
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
import sys
2-
import os
3-
4-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
5-
61
from blocks import LBlock
72
from position import Position
83

tests/test_game.py

100644100755
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
import sys
2-
import os
3-
4-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
5-
61
# conftest.py has already patched pygame.mixer before this import
72
from game import Game
83
from blocks import IBlock, JBlock, LBlock, OBlock, SBlock, TBlock, ZBlock

tests/test_grid.py

100644100755
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
import sys
2-
import os
3-
4-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
5-
61
from grid import Grid
72

83

0 commit comments

Comments
 (0)