rwl / PYPOWER

Port of MATPOWER to Python
http://rwl.github.io/PYPOWER/api/
Other
340 stars 112 forks source link

Tests fail under Python 2.7 #5

Open sscherfke opened 11 years ago

sscherfke commented 11 years ago

Hi Richard,

when I run python pypower/t/test_pypower.py I get the following error:

----------  t_ext2int2ext  ----------
1..85
Traceback (most recent call last):
  File "pypower/t/test_pypower.py", line 135, in <module>
    test_pypower(verbose=True)
  File "pypower/t/test_pypower.py", line 78, in test_pypower
    t_run_tests(tests, verbose)
  File "/home/stefan/Code/PYPOWER/pypower/t/t_run_tests.py", line 67, in t_run_tests
    eval('mod.%s(not verbose)' % tname)
  File "<string>", line 1, in <module>
  File "/home/stefan/Code/PYPOWER/pypower/t/t_ext2int2ext.py", line 50, in t_ext2int2ext
    ppc = e2i_data(ppce)
TypeError: e2i_data() takes at least 3 arguments (1 given)
sscherfke commented 10 years ago

I deactivated all failing tests in commit 283c536b since I don’t know how to fix them.