Skip to content

Commit

Permalink
Remove unnecessary os import and directory set from test.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvcraven committed Mar 24, 2020
1 parent 5490e44 commit 514db1a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/unit2/test_textured_rects.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""
Tests for textures.
"""
import os
import arcade

SCREEN_WIDTH = 800
Expand All @@ -15,9 +14,6 @@ class MyTestWindow(arcade.Window):
def __init__(self, width, height, title):
super().__init__(width, height, title)

file_path = os.path.dirname(os.path.abspath(__file__))
os.chdir(file_path)

arcade.set_background_color(arcade.color.AMAZON)

self.texture = arcade.load_texture(":resources:images/space_shooter/playerShip1_orange.png")
Expand Down

0 comments on commit 514db1a

Please sign in to comment.