Skip to content

Commit b5993dc

Browse files
committed
Update typography test to use path relative to sanity_testing.py
1 parent d8ab988 commit b5993dc

File tree

1 file changed

+2
-1
lines changed
  • p5/visualTests/sanityTests/2DSanityTests

1 file changed

+2
-1
lines changed

p5/visualTests/sanityTests/2DSanityTests/test5.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import os
33
font = None
44

5-
dirname = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
5+
dirname = os.path.dirname(os.path.realpath(__file__))
6+
67
def preload():
78
global font
89
# TODO: Use bunch of different fonts formats like otf,rtf etc

0 commit comments

Comments
 (0)