diff options
Diffstat (limited to 'unit_tests')
-rw-r--r-- | unit_tests/test_xunit.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unit_tests/test_xunit.py b/unit_tests/test_xunit.py index 95ff9e3..c141739 100644 --- a/unit_tests/test_xunit.py +++ b/unit_tests/test_xunit.py @@ -131,8 +131,9 @@ class TestXMLOutputWithXML(unittest.TestCase): pass self.x.report(DummyStream()) f = open(self.xmlfile, 'rb') - return f.read() + data = f.read() f.close() + return data def test_addFailure(self): test = mktest() |