Hi,
the attached small patch should fix a platform dependency of one of pootle's
tests.

btw: two tests failed for me while running "py.test ." (not related to the
issue above)

regards,
Lars
Index: test_statistics.py
===================================================================
--- test_statistics.py	(Revision 6041)
+++ test_statistics.py	(Arbeitskopie)
@@ -14,9 +14,9 @@
     def test_creation(self):
         """we create the object and storage file correctly"""
         pofile = po.pofile()
-        pofile.filename = "file/test.po"
+        pofile.filename = os.path.join("file", "test.po")
         sfile = statistics.StatsFile(pofile)
-        assert sfile.filename == "file/test.po.stats"
+        assert sfile.filename == pofile.filename + ".stats"
 
     def test_hasparent(self):
         """check that we manage the associated stats file for a translatable file"""
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to