diff --git a/tests/test_py3.py b/tests/test_py3.py index a5a0fc7b..773e0e2c 100644 --- a/tests/test_py3.py +++ b/tests/test_py3.py @@ -244,7 +244,7 @@ def test_writerows(self): self.assertEqual(result, 'line_number,a,b,c\n1,1,2,☃\n') -@unittest.skipIf(six.PY2 or platform.system() == 'Linux' and sys.version_info == (3, 6), +@unittest.skipIf(six.PY2 or platform.system() == 'Linux' and sys.version_info[:2] == (3, 6), "Not supported in Python 2. Test fails inexplicably on Linux in Python 3.6.") class TestSniffer(unittest.TestCase): def test_sniffer(self):