Skip to content

Commit

Permalink
test: Skip failing test on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 18, 2023
1 parent 11ea63e commit 01f094b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_py3.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import csv
import os
import platform
import sys
import unittest
from io import StringIO

Expand Down Expand Up @@ -231,6 +233,10 @@ def test_writerows(self):


class TestSniffer(unittest.TestCase):
@unittest.skipIf(
platform.system() == 'Darwin' and sys.version_info[:2] == (3, 10),
reason='The (macos-latest, 3.10) job fails on GitHub Actions'
)
def test_sniffer(self):
with open('examples/test.csv', encoding='utf-8') as f:
contents = f.read()
Expand Down

0 comments on commit 01f094b

Please sign in to comment.