Commits

almad  committed 18f4974

Adding run.sh instead of run.py (hacky, will find the way back)

  • Participants
  • Parent commits 99ede2a

Comments (0)

Files changed (3)

File sneakylang/test/run.py

-#!/usr/bin/env python
-
-import os
-import sys
-
-import nose
-
-WORKING_DIR = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir, os.pardir))
-
-if __name__ == "__main__":
-    if not WORKING_DIR in sys.path:
-        sys.path.insert(0, WORKING_DIR)
-    nose.run_exit()

File sneakylang/test/run.sh

+#!/bin/sh
+for i in `ls test*py`; do nosetests $i; done;

File sneakylang/test/test_regressions.py

 # not run
 
 from sneakylang.node import TextNode
-from sneakylang.parser import *
+from sneakylang.parser import parse
 from sneakylang.register import Register, RegisterMap
 from sneakylang.expanders import expand, TextNodeExpander