Mercurial > lcfOS
diff test/testasm.py @ 342:86b02c98a717 devel
Moved target directory
author | Windel Bouwman |
---|---|
date | Sat, 01 Mar 2014 15:40:31 +0100 |
parents | 4d204f6f7d4e |
children | 3bb7dcfe5529 |
line wrap: on
line diff
--- a/test/testasm.py Fri Feb 28 18:07:14 2014 +0100 +++ b/test/testasm.py Sat Mar 01 15:40:31 2014 +0100 @@ -6,8 +6,8 @@ from ppci.assembler import tokenize, Assembler, Lexer from ppci.objectfile import ObjectFile from ppci.linker import Linker -import outstream -from target import Label +from ppci.outstream import BinaryOutputStream +from ppci.target.basetarget import Label class AssemblerLexingCase(unittest.TestCase): @@ -96,7 +96,7 @@ class OustreamTestCase(unittest.TestCase): def test1(self): obj = ObjectFile() - o = outstream.BinaryOutputStream(obj) + o = BinaryOutputStream(obj) o.selectSection('.text') o.emit(Label('a')) self.assertSequenceEqual(bytes(), obj.get_section('.text').data)