Permalink
Browse files

fixed imports

  • Loading branch information...
1 parent 40a4145 commit e7e35a7e99757c19ba6ce0a1b12b78fc72acbeb3 @nesaro committed Nov 22, 2012
Showing with 8 additions and 5 deletions.
  1. +1 −1 pydsl/Grammar/Parser/Parser.py
  2. +1 −0 requirements.txt
  3. +5 −3 test
  4. +1 −1 tests/test_Memory.py
@@ -23,7 +23,7 @@
import logging
LOG = logging.getLogger(__name__)
-from ..BNF import BNFGrammar
+from pydsl.Grammar.BNF import BNFGrammar
def terminal_symbol_reducer(symbol, word, production):
View
@@ -1,3 +1,4 @@
git+https://github.com/Julian/jsonschema.git
ply
pika
+nose
View
8 test
@@ -1,4 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-export PYTHONPATH=.
-python3 -m unittest discover -s tests/
+#export PYTHONPATH=/home/nesaro/repo/pydsl/
+#python2 -3 -m unittest discover -s tests/
+#python3 -m unittest discover -s tests/
+nosetests --logging-level=WARNING
View
@@ -56,7 +56,7 @@ def setUp(self):
@unittest.skip
def testSaveLoadAndDelete(self):
- from pydsl.Grammar.Checker import DummyChecker
+ from pydsl.Checker import DummyChecker
dg = DummyChecker()
if "DummyChecker" in self.mem:
del self.mem["DummyChecker"]

0 comments on commit e7e35a7

Please sign in to comment.