Skip to content

Commit

Permalink
Update test_feedback.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Aug 31, 2016
1 parent 1b80daa commit 1202e9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_feedback.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import unittest
import subprocess
from path import path
import __builtin__

import autowig

Expand Down Expand Up @@ -106,7 +105,7 @@ def test_with_none_overload_export(self, overload="none"):
silent = True)

autowig.controller.plugin = 'default'
autowig.controller(asg)
autowig.controller(asg, overload=overload)

module = autowig.generator(asg, module = self.srcdir/'_module.cpp',
decorator = self.srcdir/'_module.py',
Expand All @@ -118,7 +117,8 @@ def test_with_none_overload_export(self, overload="none"):
module.write()


s = subprocess.Popen(['scons', 'py'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
s = subprocess.Popen(['scons', 'py'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
prev, curr = s.communicate()

while not prev == curr:
Expand All @@ -137,4 +137,4 @@ def test_with_class_overload_export(self):

def test_with_namespace_overload_export(self):
"""Test `feedback` with 'namespace' overload"""
self.test_with_none_overload_export(overload="namespace")
self.test_with_none_overload_export(overload="namespace")

0 comments on commit 1202e9e

Please sign in to comment.