summaryrefslogtreecommitdiff
path: root/ext/ply/test/lex_ignore.py
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ply/test/lex_ignore.py')
-rw-r--r--ext/ply/test/lex_ignore.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ply/test/lex_ignore.py b/ext/ply/test/lex_ignore.py
index 94b026693..6c43b4cff 100644
--- a/ext/ply/test/lex_ignore.py
+++ b/ext/ply/test/lex_ignore.py
@@ -1,9 +1,9 @@
-# lex_token.py
+# lex_ignore.py
#
# Improperly specific ignore declaration
import sys
-sys.path.insert(0,"..")
+if ".." not in sys.path: sys.path.insert(0,"..")
import ply.lex as lex