[pygobject] tests: Windows fix



commit 3363049be9d8cd277b33127427694588598aa6dd
Author: Christoph Reiter <creiter src gnome org>
Date:   Fri Oct 13 16:08:01 2017 +0200

    tests: Windows fix
    
    some fallout from fd5f2a09ce48329d2df191eca9a0cea926ddfb5b

 tests/test_everything.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_everything.py b/tests/test_everything.py
index db7b2d9..ac97e05 100644
--- a/tests/test_everything.py
+++ b/tests/test_everything.py
@@ -248,7 +248,7 @@ class TestEverything(unittest.TestCase):
         self.assertEqual(Everything.test_utf8_inout(const_str), noconst_str)
 
     def test_filename_return(self):
-        if PY3:
+        if PY3 and os.name != "nt":
             result = [os.fsdecode(b'\xc3\xa5\xc3\xa4\xc3\xb6'), '/etc/fstab']
         else:
             result = ['åäö', '/etc/fstab']


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]