From 514db1af1a5c6c5bd69d0214c2f650ca6912c3a2 Mon Sep 17 00:00:00 2001 From: Paul Vincent Craven Date: Tue, 24 Mar 2020 10:14:01 -0500 Subject: [PATCH] Remove unnecessary os import and directory set from test. --- tests/unit2/test_textured_rects.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/unit2/test_textured_rects.py b/tests/unit2/test_textured_rects.py index 8ca20ce7c..0db7388cd 100644 --- a/tests/unit2/test_textured_rects.py +++ b/tests/unit2/test_textured_rects.py @@ -1,7 +1,6 @@ """ Tests for textures. """ -import os import arcade SCREEN_WIDTH = 800 @@ -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")