A number of tests fail with “AssertionError: actual argument is not a string” [1]. These tests use “assertLooksLike”.
The reason why the tests are failing is that stdout from “SimpleModule” deliveres unicode objects [2], while “assertLooksLike” only allows/expects str objects [3].
In many cases, encoding stdout wth utf-8 (or wrapping it into str() like in [2]) would fix this.
If you consider this an appropriate solution I can fix tests accordingly…
Alternatively, assertLooksLike could be changed to accept Unicode (too)…
Let me know. I do like to contribute to getting a “green build” (as Panos put it), but I want to double check what the most appropriate solution is before I make any changes…
And in particular I do not want to mess with stuff others are currently working on…
BTW, it the nc_spm_full_v2alpha test data available somewhere?
A number of tests fail with “AssertionError: actual argument is not a string” [1]. These tests use “assertLooksLike”.
The reason why the tests are failing is that stdout from “SimpleModule” deliveres unicode objects [2], while “assertLooksLike” only allows/expects str objects [3].
In many cases, encoding stdout wth utf-8 (or wrapping it into str() like in [2]) would fix this.
If you consider this an appropriate solution I can fix tests accordingly…
Alternatively, assertLooksLike could be changed to accept Unicode (too)…
Let me know. I do like to contribute to getting a “green build” (as Panos put it), but I want to double check what the most appropriate solution is before I make any changes…
And in particular I do not want to mess with stuff others are currently working on…
BTW, it the nc_spm_full_v2alpha test data available somewhere?